Test Setup Failed
Push — ft/tiptap-editor ( 720a55...7ccb83 )
by
unknown
06:40
created
app/Providers/ViewServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@  discard block
 block discarded – undo
9 9
 {
10 10
     public function boot(): void
11 11
     {
12
-        $this->loadViewsFrom(__DIR__ . '/../../resources/views', 'chief');
12
+        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'chief');
13 13
 
14 14
         // Fragment components
15
-        $this->app['view']->addNamespace('chief-fragments', __DIR__ . '/../../src/Fragments/resources');
15
+        $this->app['view']->addNamespace('chief-fragments', __DIR__.'/../../src/Fragments/resources');
16 16
 
17 17
         Blade::componentNamespace('Thinktomorrow\\Chief\\App\\View\\Components', 'chief');
18 18
 
@@ -31,19 +31,19 @@  discard block
 block discarded – undo
31 31
         Blade::component('chief::templates.mail.template', 'chief::mail.template');
32 32
 
33 33
         // Chief directives
34
-        Blade::directive('adminRoute', function ($expression) {
34
+        Blade::directive('adminRoute', function($expression) {
35 35
             return "<?php echo \$manager->route({$expression}); ?>";
36 36
         });
37 37
 
38
-        Blade::directive('adminCan', function ($expression) {
38
+        Blade::directive('adminCan', function($expression) {
39 39
             return "<?php if (isset(\$manager) && \$manager->can({$expression})) { ?>";
40 40
         });
41 41
 
42
-        Blade::directive('elseAdminCan', function () {
42
+        Blade::directive('elseAdminCan', function() {
43 43
             return '<?php } else { ?>';
44 44
         });
45 45
 
46
-        Blade::directive('endAdminCan', function () {
46
+        Blade::directive('endAdminCan', function() {
47 47
             return '<?php } ?>';
48 48
         });
49 49
 
Please login to merge, or discard this patch.