Completed
Push — master ( 85eff0...a5c9d5 )
by Dmitry
02:19
created
src/ServiceFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
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;
Please login to merge, or discard this patch.