Passed
Push — master ( 9544ba...f6872f )
by Warrick
02:24 queued 10s
created
src/Offer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     public function fill(array $attributes)
103 103
     {
104
-        $this->attributes = array_map(function ($attributes) {
104
+        $this->attributes = array_map(function($attributes) {
105 105
             return strip_tags($attributes);
106 106
         }, $attributes);
107 107
         return $this;
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
      */
407 407
     public function toArray(): array
408 408
     {
409
-        return array_filter($this->attributes, function ($attribute) {
409
+        return array_filter($this->attributes, function($attribute) {
410 410
             return $attribute ? true : false;
411 411
         });
412 412
     }
Please login to merge, or discard this patch.