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
Merge "Hide TOC with CSS instead of JavaScript"
[lhc/web/wiklou.git]
/
includes
/
tidy
/
RaggettInternalPHP.php
diff --git
a/includes/tidy/RaggettInternalPHP.php
b/includes/tidy/RaggettInternalPHP.php
index
1ce14b6
..
e7724b0
100644
(file)
--- a/
includes/tidy/RaggettInternalPHP.php
+++ b/
includes/tidy/RaggettInternalPHP.php
@@
-9,7
+9,7
@@
class RaggettInternalPHP extends RaggettBase {
*
* @param string $text HTML to check
* @param bool $stderr Whether to read result from error status instead of output
*
* @param string $text HTML to check
* @param bool $stderr Whether to read result from error status instead of output
- * @param int &$retval Exit code (-1 on internal error)
+ * @param int
|null
&$retval Exit code (-1 on internal error)
* @return string|null
*/
protected function cleanWrapped( $text, $stderr = false, &$retval = null ) {
* @return string|null
*/
protected function cleanWrapped( $text, $stderr = false, &$retval = null ) {
@@
-32,7
+32,7
@@
class RaggettInternalPHP extends RaggettBase {
$retval = $tidy->getStatus();
if ( $retval == 2 ) {
// 2 is magic number for fatal error
$retval = $tidy->getStatus();
if ( $retval == 2 ) {
// 2 is magic number for fatal error
- // http
://www.php.net/manual/en/function.tidy-get-
status.php
+ // http
s://secure.php.net/manual/en/tidy.get
status.php
$cleansource = null;
} else {
$cleansource = tidy_get_output( $tidy );
$cleansource = null;
} else {
$cleansource = tidy_get_output( $tidy );