@@ -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 |
@@ -37,13 +37,13 @@ discard block |
||
| 37 | 37 | throw new InvalidArgumentException('Credentials is required.'); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - $className = $this->getServiceNamespace() . '\\' . ucfirst($serviceName); |
|
| 40 | + $className = $this->getServiceNamespace().'\\'.ucfirst($serviceName); |
|
| 41 | 41 | |
| 42 | 42 | if (class_exists($className)) { |
| 43 | 43 | $instance = new $className($serviceName); |
| 44 | 44 | if (!$instance instanceof Service) { |
| 45 | 45 | throw new ServiceNotFoundException( |
| 46 | - "Service class `{$className}` is not instance of `" . Service::class . "`." |
|
| 46 | + "Service class `{$className}` is not instance of `".Service::class."`." |
|
| 47 | 47 | ); |
| 48 | 48 | } |
| 49 | 49 | $serviceOptions['name'] = $serviceName; |