Completed
Push — master ( b1fc83...ef90de )
by Arthur
10s
created
src/WebThumbnailer/Finder/QueryRegexFinder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         }
89 89
 
90 90
         // With curl, the thumb is extracted during the download
91
-        if ($this->webAccess instanceof WebAccessCUrl && ! empty($thumbnail)) {
91
+        if ($this->webAccess instanceof WebAccessCUrl && !empty($thumbnail)) {
92 92
             return $thumbnail;
93 93
         }
94 94
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         $thumbnailUrl = $this->thumbnailUrlFormat;
154 154
         if (preg_match($this->urlRegex, $content, $matches) != false) {
155 155
             for ($i = 1; $i < count($matches); $i++) {
156
-                $thumbnailUrl = str_replace('${'. $i . '}', $matches[$i], $thumbnailUrl);
156
+                $thumbnailUrl = str_replace('${'.$i.'}', $matches[$i], $thumbnailUrl);
157 157
             }
158 158
 
159 159
             // Match only options (not ${number})
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     public function checkRules($rules)
174 174
     {
175
-        if (! FinderUtils::checkMandatoryRules($rules, [
175
+        if (!FinderUtils::checkMandatoryRules($rules, [
176 176
             'image_regex',
177 177
             'thumbnail_url'
178 178
         ])) {
Please login to merge, or discard this patch.