@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | use MichaelRubel\Formatters\Formatter; |
| 8 | 8 | use MichaelRubel\Formatters\FormatterServiceProvider; |
| 9 | 9 | |
| 10 | -if (! function_exists('format')) { |
|
| 10 | +if (!function_exists('format')) { |
|
| 11 | 11 | /** |
| 12 | 12 | * @param string $formatter |
| 13 | 13 | * @param string|array $items |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | ? app($formatter) |
| 22 | 22 | : app($formatter . FormatterServiceProvider::BINDING_POSTFIX); |
| 23 | 23 | |
| 24 | - if (! $formatter instanceof Formatter) { |
|
| 24 | + if (!$formatter instanceof Formatter) { |
|
| 25 | 25 | if (config('formatters.bindings_case') === 'camel') { |
| 26 | 26 | throw new ShouldNotUseCamelCaseException(); |
| 27 | 27 | } |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | |
| 63 | 63 | $packageFormatters |
| 64 | 64 | ->merge($appFormatters) |
| 65 | - ->each(function ($file) use ($app_folder, $bindings_case) { |
|
| 65 | + ->each(function($file) use ($app_folder, $bindings_case) { |
|
| 66 | 66 | $filename = $file->getFilenameWithoutExtension(); |
| 67 | 67 | $name = $this->getFormatterName($bindings_case, $filename); |
| 68 | 68 | $class = $this->getFormatterClass($file, $filename, $app_folder); |