dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing & to @param documentation to match functon call
[lhc/web/wiklou.git]
/
includes
/
content
/
JsonContent.php
diff --git
a/includes/content/JsonContent.php
b/includes/content/JsonContent.php
index
b9215fc
..
2f45547
100644
(file)
--- a/
includes/content/JsonContent.php
+++ b/
includes/content/JsonContent.php
@@
-86,7
+86,7
@@
class JsonContent extends TextContent {
return $this;
}
return $this;
}
- return new static(
$this->beautifyJSON(
) );
+ return new static(
self::normalizeLineEndings( $this->beautifyJSON()
) );
}
/**
}
/**
@@
-96,7
+96,7
@@
class JsonContent extends TextContent {
* @param int $revId
* @param ParserOptions $options
* @param bool $generateHtml
* @param int $revId
* @param ParserOptions $options
* @param bool $generateHtml
- * @param ParserOutput $output
+ * @param ParserOutput
&
$output
*/
protected function fillParserOutput( Title $title, $revId,
ParserOptions $options, $generateHtml, ParserOutput &$output
*/
protected function fillParserOutput( Title $title, $revId,
ParserOptions $options, $generateHtml, ParserOutput &$output
@@
-161,7
+161,7
@@
class JsonContent extends TextContent {
);
}
return Html::rawElement( 'table', [ 'class' => 'mw-json' ],
);
}
return Html::rawElement( 'table', [ 'class' => 'mw-json' ],
- Html::rawElement( 'tbody', [],
join
( '', $rows ) )
+ Html::rawElement( 'tbody', [],
implode
( '', $rows ) )
);
}
);
}
@@
-200,7
+200,7
@@
class JsonContent extends TextContent {
);
}
return Html::rawElement( 'table', [ 'class' => 'mw-json' ],
);
}
return Html::rawElement( 'table', [ 'class' => 'mw-json' ],
- Html::rawElement( 'tbody', [],
join
( "\n", $rows ) )
+ Html::rawElement( 'tbody', [],
implode
( "\n", $rows ) )
);
}
);
}