@@ -26,13 +26,13 @@ |
||
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 | /** |
@@ -32,7 +32,7 @@ |
||
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); |