@@ -23,7 +23,7 @@ discard block |
||
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 |
||
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 | } |