Passed
Push — master ( 207afe...7f2606 )
by Hamzah
02:44
created
src/GeneratorServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@
 block discarded – undo
26 26
         }
27 27
 
28 28
         $this->publishes([
29
-            __DIR__.'/config' => realpath('config'),
30
-        ],'repository-config');
29
+            __DIR__ . '/config' => realpath('config'),
30
+        ], 'repository-config');
31 31
 
32
-        $this->mergeConfigFrom(__DIR__.'/config/repository.php', 'repository-config');
32
+        $this->mergeConfigFrom(__DIR__ . '/config/repository.php', 'repository-config');
33 33
         $this->publishes([
34
-            __DIR__.'/stubs' => \Config::get('repository.resources_path',realpath(__DIR__.'/../../../../resources/'))."/stubs/",
35
-        ],'repository-stub');
34
+            __DIR__ . '/stubs' => \Config::get('repository.resources_path', realpath(__DIR__ . '/../../../../resources/')) . "/stubs/",
35
+        ], 'repository-stub');
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/RepositoryServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         parent::__construct($app);
34 34
         $contractsFolder = realpath(__DIR__ . '/../../../../app/Contracts');
35
-        if($contractsFolder){
35
+        if ($contractsFolder) {
36 36
             $directory = new \RecursiveDirectoryIterator($contractsFolder);
37 37
             $iterator = new \RecursiveIteratorIterator($directory);
38 38
             $regex = new \RegexIterator($iterator, '/^.+\.php$/i', \RecursiveRegexIterator::GET_MATCH);
Please login to merge, or discard this patch.