Passed
Push — master ( 334825...dc00b6 )
by Phillip
02:21
created
src/Proxy/LocatorProxyFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     public function create(string $moduleName, Locator $locator) : LocatorProxyInterface
32 32
     {
33 33
         $proxy = new LocatorProxy($this->searchableNamespaces, $moduleName, $locator);
34
-        if(get_class($proxy->factory()) === EmptyFactory::class
35
-            && get_class($proxy->facade()) === EmptyFacade::class){
34
+        if (get_class($proxy->factory()) === EmptyFactory::class
35
+            && get_class($proxy->facade()) === EmptyFacade::class) {
36 36
             throw new NotFoundException(sprintf('Module %s was not found. You need at least a factory or a facade', $moduleName));
37 37
         }
38 38
 
Please login to merge, or discard this patch.
src/Locator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function locate(string $moduleName) : LocatorProxyInterface
36 36
     {
37
-        if(!isset($this->proxies[$moduleName])){
37
+        if (!isset($this->proxies[$moduleName])) {
38 38
             $this->proxies[$moduleName] = $this->factory->create($moduleName, $this);
39 39
         }
40 40
 
Please login to merge, or discard this patch.