Completed
Push — master ( 5dab40...ca534d )
by Maxime
120:18 queued 114:35
created
src/Distilleries/Expendable/Http/Forms/Component/ComponentForm.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $allModels = [
48 48
             [
49
-                'path'      => app_path() . DIRECTORY_SEPARATOR,
49
+                'path'      => app_path().DIRECTORY_SEPARATOR,
50 50
                 'namespace' => '{{app}}',
51 51
             ],
52 52
             [
53
-                'path'      => __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Models' . DIRECTORY_SEPARATOR,
53
+                'path'      => __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'Models'.DIRECTORY_SEPARATOR,
54 54
                 'namespace' => 'Distilleries\\Expendable\\Models\\',
55 55
             ],
56 56
         ];
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             {
64 64
                 $choice                               = explode('/', $model);
65 65
                 $model                                = preg_replace('/.php/i', '', last($choice));
66
-                $choices[$config['namespace'] . $model] = $model;
66
+                $choices[$config['namespace'].$model] = $model;
67 67
             }
68 68
         }
69 69
 
Please login to merge, or discard this patch.