@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @param callable|null $func |
13 | 13 | * @return string |
14 | 14 | */ |
15 | - public function getNamespaceForAutoService($instance,callable $func = null) |
|
15 | + public function getNamespaceForAutoService($instance, callable $func = null) |
|
16 | 16 | { |
17 | 17 | //get namespace for auto service |
18 | 18 | $autoServiceNamespace = $instance->autoService(); |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | $configAutoServices = config('autoservices'); |
23 | 23 | |
24 | 24 | //auto service is invoked if auto service is allowed for any class yada config. |
25 | - if(class_exists($autoServiceNamespace) && isset($configAutoServices[strtolower(endpoint)])){ |
|
25 | + if (class_exists($autoServiceNamespace) && isset($configAutoServices[strtolower(endpoint)])) { |
|
26 | 26 | return $autoServiceNamespace; |
27 | 27 | } |
28 | 28 |