@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | protected function firstClassName(string $name, array $classes, string $suffix) |
| 19 | 19 | { |
| 20 | - return array_first($classes, function ($class) use ($name, $suffix) { |
|
| 20 | + return array_first($classes, function($class) use ($name, $suffix) { |
|
| 21 | 21 | $class = $this->nameToCamelCase($class); |
| 22 | 22 | |
| 23 | 23 | return Str::endsWith($class, $suffix) |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | */ |
| 84 | 84 | public function addFormatters($formatters) |
| 85 | 85 | { |
| 86 | - array_map(function ($formatter) { |
|
| 86 | + array_map(function($formatter) { |
|
| 87 | 87 | $this->addFormatter($formatter); |
| 88 | 88 | }, $formatters); |
| 89 | 89 | |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | * @param mixed $params |
| 171 | 171 | * @return mixed |
| 172 | 172 | */ |
| 173 | - protected function callFormatter(string $name, $params = []) |
|
| 173 | + protected function callFormatter(string $name, $params = [ ]) |
|
| 174 | 174 | { |
| 175 | 175 | if ($formatter = $this->findFormatter($name)) { |
| 176 | 176 | |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | * @param array $params |
| 192 | 192 | * @return mixed |
| 193 | 193 | */ |
| 194 | - protected function executeFormatter(Formatter $formatter, array $params = []) |
|
| 194 | + protected function executeFormatter(Formatter $formatter, array $params = [ ]) |
|
| 195 | 195 | { |
| 196 | 196 | // Call the format method of formatter class. |
| 197 | 197 | return $formatter->format(...$params); |