Passed
Push — main ( 2890e8...0489e5 )
by ikechukwu
14:13
created
src/Console/Commands/InitCommands.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,14 +19,14 @@  discard block
 block discarded – undo
19 19
 
20 20
     protected function handleAppContractsPath()
21 21
     {
22
-        if (! is_dir($directory = app_path('Contracts'))) {
22
+        if (!is_dir($directory = app_path('Contracts'))) {
23 23
             mkdir($directory, 0755, true);
24 24
         }
25 25
 
26 26
         $filesystem = new Filesystem;
27 27
 
28 28
         collect($filesystem->allFiles(__DIR__.'/stubs/init/app/Contracts'))
29
-            ->each(function (SplFileInfo $file) use ($filesystem) {
29
+            ->each(function(SplFileInfo $file) use ($filesystem) {
30 30
                 $filesystem->copy(
31 31
                     $file->getPathname(),
32 32
                     app_path('Contracts/'.Str::replaceLast('.stub', '.php', $file->getFilename()))
@@ -243,14 +243,14 @@  discard block
 block discarded – undo
243 243
 
244 244
     private function handlePath(string $appPath, string $stubPath, string $name)
245 245
     {
246
-        if (! is_dir($directory = app_path($appPath))) {
246
+        if (!is_dir($directory = app_path($appPath))) {
247 247
             mkdir($directory, 0755, true);
248 248
         }
249 249
 
250 250
         $filesystem = new Filesystem;
251 251
 
252 252
         collect($filesystem->allFiles($stubPath))
253
-            ->each(function (SplFileInfo $file) use ($filesystem, $appPath) {
253
+            ->each(function(SplFileInfo $file) use ($filesystem, $appPath) {
254 254
                 $filesystem->copy(
255 255
                     $file->getPathname(),
256 256
                     app_path("{$appPath}/".Str::replaceLast('.stub', '.php', $file->getFilename()))
Please login to merge, or discard this patch.