@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | { |
85 | 85 | $this->inferProjectSourcePaths(); |
86 | 86 | |
87 | - return array_values(array_filter($this->getProjectClasses(), function (string $class) { |
|
87 | + return array_values(array_filter($this->getProjectClasses(), function(string $class) { |
|
88 | 88 | return Str::startsWith($class, $this->projectNamespaces) && $this->isSearchableModel($class); |
89 | 89 | })); |
90 | 90 | } |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | $composerJson = json_decode(file_get_contents(base_path('composer.json')), true); |
133 | 133 | $autoload = $composerJson['autoload'] ?? []; |
134 | 134 | |
135 | - if (!isset($autoload['psr-4'])) { |
|
135 | + if ( ! isset($autoload['psr-4'])) { |
|
136 | 136 | throw new RuntimeException('psr-4 autoload mappings are not present in composer.json'); |
137 | 137 | } |
138 | 138 |