@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | { |
| 164 | 164 | return $this->getInstance( |
| 165 | 165 | 'partFilterFactory', |
| 166 | - __NAMESPACE__ . '\Message\PartFilterFactory' |
|
| 166 | + __NAMESPACE__.'\Message\PartFilterFactory' |
|
| 167 | 167 | ); |
| 168 | 168 | } |
| 169 | 169 | |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | } |
| 216 | 216 | return $this->getInstance( |
| 217 | 217 | 'partStreamFilterManagerFactory', |
| 218 | - __NAMESPACE__ . '\Message\Part\PartStreamFilterManagerFactory' |
|
| 218 | + __NAMESPACE__.'\Message\Part\PartStreamFilterManagerFactory' |
|
| 219 | 219 | ); |
| 220 | 220 | } |
| 221 | 221 | |
@@ -79,7 +79,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | } |