@@ -50,11 +50,11 @@ |
||
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 |