@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | public function handle($match) |
| 61 | 61 | { |
| 62 | - $object = []; |
|
| 62 | + $object = [ ]; |
|
| 63 | 63 | |
| 64 | 64 | foreach ($match as $child) { |
| 65 | 65 | $name = $child->getName(); |
@@ -76,15 +76,15 @@ discard block |
||
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | if (in_array($name, self::GOAL_DETAILS)) { |
| 79 | - return array_map([$this, 'goals'], $this->toArray($data)); |
|
| 79 | + return array_map([ $this, 'goals' ], $this->toArray($data)); |
|
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | if (in_array($name, self::CARDS)) { |
| 83 | - return array_map([$this, 'cards'], $this->toArray($data)); |
|
| 83 | + return array_map([ $this, 'cards' ], $this->toArray($data)); |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | if (in_array($name, self::SUBSTITUTIONS)) { |
| 87 | - return array_map([$this, 'substitutions'], $this->toArray($data)); } |
|
| 87 | + return array_map([ $this, 'substitutions' ], $this->toArray($data)); } |
|
| 88 | 88 | |
| 89 | 89 | if (in_array($name, self::NUMERIC)) { |
| 90 | 90 | return (int) $data; |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | { |
| 141 | 141 | $data = $this->cleanse($data); |
| 142 | 142 | |
| 143 | - return empty($data) ? [] : explode(';', rtrim($data,";")); |
|
| 143 | + return empty($data) ? [ ] : explode(';', rtrim($data, ";")); |
|
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | /** |