Test Failed
Push — 1.0.0 ( d3c3e6...4505d9 )
by Zaahid
04:05
created
src/Message/Part/MimePart.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
         $pbChildren = $partBuilder->getChildren();
81 81
         if (!empty($pbChildren)) {
82
-            $this->children = array_map(function ($child) use ($handle) {
82
+            $this->children = array_map(function($child) use ($handle) {
83 83
                 $childPart = $child->createMessagePart($handle);
84 84
                 $childPart->parent = $this;
85 85
                 return $childPart;
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     protected function getAllNonFilteredParts()
99 99
     {
100
-        $parts = [ $this ];
100
+        $parts = [$this];
101 101
         foreach ($this->children as $part) {
102 102
             if ($part instanceof MimePart) {
103 103
                 $parts = array_merge(
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         if (!empty($filter)) {
149 149
             return array_values(array_filter(
150 150
                 $parts,
151
-                [ $filter, 'filter' ]
151
+                [$filter, 'filter']
152 152
             ));
153 153
         }
154 154
         return $parts;
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     public function getChildParts(PartFilter $filter = null)
197 197
     {
198 198
         if ($filter !== null) {
199
-            return array_values(array_filter($this->children, [ $filter, 'filter' ]));
199
+            return array_values(array_filter($this->children, [$filter, 'filter']));
200 200
         }
201 201
         return $this->children;
202 202
     }
Please login to merge, or discard this patch.