Passed
Push — master ( 82963e...006dab )
by Chauncey
44s queued 10s
created
src/Charcoal/Admin/Widget/AttachmentWidget.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
         ]);
211 211
 
212 212
         foreach ($attachments as $attachment) {
213
-            $this->setDynamicTemplate('widget_template', (string)$attachment->rawPreview());
213
+            $this->setDynamicTemplate('widget_template', (string) $attachment->rawPreview());
214 214
 
215 215
             if (isset($attachableObjects[$attachment->objType()])) {
216 216
                 $attachment->attachmentType = $attachableObjects[$attachment->objType()];
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
             );
475 475
         }
476 476
 
477
-        $num = (int)$num;
477
+        $num = (int) $num;
478 478
 
479 479
         if ($num < 0) {
480 480
             throw new InvalidArgumentException(
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
             );
503 503
         }
504 504
 
505
-        $page = (int)$page;
505
+        $page = (int) $page;
506 506
 
507 507
         if ($page < 0) {
508 508
             throw new InvalidArgumentException(
Please login to merge, or discard this patch.