From: Siebrand Mazeland Date: Mon, 28 Sep 2015 11:42:48 +0000 (+0200) Subject: Fix 2 PHPCS warnings in ThumbnailRenderJob.php X-Git-Tag: 1.31.0-rc.0~9724^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=b1fb834b92823191e305d07e87c8c525a64d6aee;p=lhc%2Fweb%2Fwiklou.git Fix 2 PHPCS warnings in ThumbnailRenderJob.php Change-Id: Id0a2d8342cec864ad9c5f9373495f2ca3ebdd1ab --- diff --git a/includes/jobqueue/jobs/ThumbnailRenderJob.php b/includes/jobqueue/jobs/ThumbnailRenderJob.php index f558c4887b..0abc0e30b9 100644 --- a/includes/jobqueue/jobs/ThumbnailRenderJob.php +++ b/includes/jobqueue/jobs/ThumbnailRenderJob.php @@ -59,14 +59,16 @@ class ThumbnailRenderJob extends Job { if ( $status === 200 || $status === 301 || $status === 302 || $status === 400 ) { return true; } elseif ( $status ) { - $this->setLastError( __METHOD__ . ': incorrect HTTP status ' . $status . ' when hitting ' . $thumbUrl ); + $this->setLastError( __METHOD__ . ': incorrect HTTP status ' . + $status . ' when hitting ' . $thumbUrl ); return false; } else { $this->setLastError( __METHOD__ . ': HTTP request failure' ); return false; } } else { - $this->setLastError( __METHOD__ . ': unknown thumbnail render method ' . $wgUploadThumbnailRenderMethod ); + $this->setLastError( __METHOD__ . ': unknown thumbnail render method ' . + $wgUploadThumbnailRenderMethod ); return false; } } else {