Passed
Push — master ( 55ae94...dae5ae )
by Dimitri
07:21 queued 04:58
created
src/SimplePagesServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             __DIR__.'/../config/simple-pages.php' => base_path('config/simple-pages.php'),
24 24
         ], 'config');
25 25
 
26
-        if (! class_exists('CreateSimplePagesTable')) {
26
+        if (!class_exists('CreateSimplePagesTable')) {
27 27
             $this->publishes([
28 28
                 __DIR__.'/../database/migrations/create_simple_pages_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_simple_pages_table.php'),
29 29
             ], 'migrations');
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     {
44 44
         $simplePageModel = config('simpel-pages.model') ?? SimplePageModel::class;
45 45
 
46
-        if (! is_a($simplePageModel, SimplePage::class, true)
47
-            || ! is_a($simplePageModel, Model::class, true)
46
+        if (!is_a($simplePageModel, SimplePage::class, true)
47
+            || !is_a($simplePageModel, Model::class, true)
48 48
         ) {
49 49
             throw InvalidConfiguration::modelIsNotValid($simplePageModel);
50 50
         }
Please login to merge, or discard this patch.