From b1fb834b92823191e305d07e87c8c525a64d6aee Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 28 Sep 2015 13:42:48 +0200 Subject: [PATCH] Fix 2 PHPCS warnings in ThumbnailRenderJob.php Change-Id: Id0a2d8342cec864ad9c5f9373495f2ca3ebdd1ab --- includes/jobqueue/jobs/ThumbnailRenderJob.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 { -- 2.20.1