Test Failed
Push — fix/media-validation ( bd2169...6403fc )
by Ben
07:09
created
src/Fields/ValidationRules/ImageFieldDimensionsRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         }
20 20
 
21 21
         $validator->setCustomMessages([
22
-            'imagefield_dimensions' => 'De :attribute heeft niet de juiste afmetingen: ' . implode(', ', $this->humanReadableParams($params)),
22
+            'imagefield_dimensions' => 'De :attribute heeft niet de juiste afmetingen: '.implode(', ', $this->humanReadableParams($params)),
23 23
         ]);
24 24
 
25 25
         if (!isset($validator->customAttributes[$attribute])) {
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     public function validateDimensions($attribute, $value, $parameters)
36 36
     {
37
-        if($this->refersToExistingAsset($value)) {
37
+        if ($this->refersToExistingAsset($value)) {
38 38
             return $this->validateAssetDimensions($this->existingAsset($value), $parameters);
39 39
         }
40 40
 
Please login to merge, or discard this patch.