Completed
Push — master ( c01fe5...ae1877 )
by Maxime
118:07 queued 115:51
created
src/Distilleries/Expendable/Http/Forms/Component/ComponentForm.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,15 +47,15 @@  discard block
 block discarded – undo
47 47
     {
48 48
         $allModels = [
49 49
             [
50
-                'path' => app_path() . DIRECTORY_SEPARATOR,
50
+                'path' => app_path().DIRECTORY_SEPARATOR,
51 51
                 'namespace' => '{{app}}',
52 52
             ],
53 53
             [
54
-                'path' => app_path() . DIRECTORY_SEPARATOR . 'Models' . DIRECTORY_SEPARATOR,
54
+                'path' => app_path().DIRECTORY_SEPARATOR.'Models'.DIRECTORY_SEPARATOR,
55 55
                 'namespace' => '{{app}}Models\\',
56 56
             ],
57 57
             [
58
-                'path' => __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Models' . DIRECTORY_SEPARATOR,
58
+                'path' => __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'Models'.DIRECTORY_SEPARATOR,
59 59
                 'namespace' => 'Distilleries\\Expendable\\Models\\',
60 60
             ],
61 61
         ];
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
                 foreach ($models as $model) {
68 68
                     $choice = explode('/', $model);
69 69
                     $model = preg_replace('/.php/i', '', last($choice));
70
-                    $choices[$config['namespace'] . $model] = $model;
70
+                    $choices[$config['namespace'].$model] = $model;
71 71
                 }
72 72
             }
73 73
 
Please login to merge, or discard this patch.