Passed
Push — master ( e8ba18...3bbca7 )
by Denis
04:36 queued 01:45
created
src/Console/InstallCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,11 +50,11 @@
 block discarded – undo
50 50
 
51 51
         $appConfig = file_get_contents(config_path('app.php'));
52 52
 
53
-        if (Str::contains($appConfig, $namespace . '\\Providers\\'.self::PROVIDER_NAME.'::class')) {
53
+        if (Str::contains($appConfig, $namespace.'\\Providers\\'.self::PROVIDER_NAME.'::class')) {
54 54
             return;
55 55
         }
56 56
 
57
-        if (!file_exists(app_path('Providers/'.self::PROVIDER_NAME.'.php'))) {
57
+        if ( ! file_exists(app_path('Providers/'.self::PROVIDER_NAME.'.php'))) {
58 58
             throw new \Exception(self::PROVIDER_NAME.' not published.');
59 59
         }
60 60
 
Please login to merge, or discard this patch.