X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=thumb.php;h=70329093c6b63570437298ef395c01b051c2de5d;hp=b59116eaed3881a68438e93489e65cdef551444d;hb=9d00d8783e9d74343fc0ea34ab228ce70684e4e4;hpb=264c8892d66b911498cc9d84f9f6fd288ddcceb2 diff --git a/thumb.php b/thumb.php index b59116eaed..70329093c6 100644 --- a/thumb.php +++ b/thumb.php @@ -500,7 +500,7 @@ function wfGenerateThumbnail( File $file, array $params, $thumbName, $thumbPath } /** @noinspection PhpUnusedLocalVariableInspection */ - $done = true; // no PHP fatal occured + $done = true; // no PHP fatal occurred if ( !$thumb || $thumb->isError() ) { // Randomize TTL to reduce stampedes @@ -626,7 +626,7 @@ function wfThumbErrorText( $status, $msgText ) { * * @param int $status * @param string $msgHtml HTML - * @param string $msgText Short error description, for internal logging. Defaults to $msgHtml. + * @param string|null $msgText Short error description, for internal logging. Defaults to $msgHtml. * Only used for HTTP 500 errors. * @param array $context Error context, for internal logging. Only used for HTTP 500 errors. * @return void