@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | // Now that we have verified the option is dynamic and has |
| 87 | 87 | // matches, we get the Option object from the implemented |
| 88 | 88 | // method to deal with the matches. |
| 89 | - $parameter = $this->parseMatches($this->getMatches($option)); |
|
| 89 | + $parameter = $this->parseMatches($this->getMatches($option)); |
|
| 90 | 90 | |
| 91 | 91 | // Return the content of the option executed. |
| 92 | 92 | return $this->runForParameter($parameter); |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | */ |
| 104 | 104 | public function addFormatters($formatters) |
| 105 | 105 | { |
| 106 | - array_walk($formatters, function ($formatter, $name) { |
|
| 106 | + array_walk($formatters, function($formatter, $name) { |
|
| 107 | 107 | $this->addFormatter($formatter, is_int($name) ? null : $name); |
| 108 | 108 | }); |
| 109 | 109 | |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | * @param array $params |
| 212 | 212 | * @return mixed |
| 213 | 213 | */ |
| 214 | - protected function callFormatter($formatter, array $params = []) |
|
| 214 | + protected function callFormatter($formatter, array $params = [ ]) |
|
| 215 | 215 | { |
| 216 | 216 | return $this->getContainer()->call($formatter, $params); |
| 217 | 217 | } |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | $formatter = $this->getContainer()->make($formatter); |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | - return [$formatter, 'format']; |
|
| 239 | + return [ $formatter, 'format' ]; |
|
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | /** |
@@ -42,6 +42,6 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function getParams(): array |
| 44 | 44 | { |
| 45 | - return $this->params; |
|
| 45 | + return $this->params; |
|
| 46 | 46 | } |
| 47 | 47 | } |
| 48 | 48 | \ No newline at end of file |