@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * @var string |
23 | 23 | */ |
24 | - protected $serviceNamespace = __NAMESPACE__ . '\\' . 'Service'; |
|
24 | + protected $serviceNamespace = __NAMESPACE__.'\\'.'Service'; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @inheritdoc |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | throw new InvalidArgumentException('Credentials is required.'); |
39 | 39 | } |
40 | 40 | |
41 | - $className = $this->getServiceNamespace() . '\\' . ucfirst($serviceName); |
|
41 | + $className = $this->getServiceNamespace().'\\'.ucfirst($serviceName); |
|
42 | 42 | |
43 | 43 | if (!class_exists($className)) { |
44 | 44 | throw new ServiceNotFoundException("Service class `{$className}` is not found."); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | if (!$instance instanceof Service) { |
50 | 50 | throw new ServiceNotFoundException( |
51 | - "Service class `{$className}` is not instance of `" . Service::class . "`." |
|
51 | + "Service class `{$className}` is not instance of `".Service::class."`." |
|
52 | 52 | ); |
53 | 53 | } |
54 | 54 |