Completed
Push — master ( a64c73...0dcdcc )
by Dmitry
02:53
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
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.