Completed
Pull Request — master (#175)
by
unknown
24:47 queued 20:09
created
src/Helpers/SearchableFinder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     {
88 88
         $this->inferProjectSourcePaths();
89 89
 
90
-        return array_values(array_filter($this->getProjectClasses(), function (string $class) {
90
+        return array_values(array_filter($this->getProjectClasses(), function(string $class) {
91 91
             return Str::startsWith($class, $this->projectNamespaces) && $this->isSearchableModel($class);
92 92
         }));
93 93
     }
@@ -131,13 +131,13 @@  discard block
 block discarded – undo
131 131
      */
132 132
     private function inferProjectSourcePaths(): void
133 133
     {
134
-        $rootPackage = ComposerFactory::create(new NullIO(), null,null)->getPackage();
134
+        $rootPackage = ComposerFactory::create(new NullIO(), null, null)->getPackage();
135 135
         $autoload = array_merge_recursive(
136 136
             $rootPackage->getAutoload(),
137 137
             $rootPackage->getDevAutoload()
138 138
         );
139 139
 
140
-        if (!isset($autoload['psr-4'])) {
140
+        if ( ! isset($autoload['psr-4'])) {
141 141
             throw new RuntimeException('psr-4 autoload mappings are not present in composer.json');
142 142
         }
143 143
 
Please login to merge, or discard this patch.