Passed
Push — main ( d240db...5d2c2f )
by Michael
02:29
created
src/Helpers/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/FormatterServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.