Completed
Push — master ( ca1854...af7add )
by Karsten
02:12
created
src/Slumber/Annotation/ServiceInjectingSlumberAnnotation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     {
113 113
         $service = $this->getServiceDefinition();
114 114
 
115
-        if (! $context->getProvider()->has($service)) {
115
+        if (!$context->getProvider()->has($service)) {
116 116
             throw $this->createValidationException(
117 117
                 $context,
118 118
                 "you requested the non-existing service '$service'"
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     {
125 125
         $ofClass = $this->getServiceClassDefinition();
126 126
 
127
-        if (! class_exists($ofClass) && ! interface_exists($ofClass)) {
127
+        if (!class_exists($ofClass) && !interface_exists($ofClass)) {
128 128
             throw $this->createValidationException(
129 129
                 $context,
130 130
                 "you requested a service instance of the non-existing class or interface '$ofClass'"
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         $instance = $this->getService($context->getProvider());
141 141
         $check    = new IsInstanceOf($ofClass);
142 142
 
143
-        if (! $check->__invoke($instance)) {
143
+        if (!$check->__invoke($instance)) {
144 144
             throw $this->createValidationException(
145 145
                 $context,
146 146
                 "The service '$service' is not an instance of '$ofClass' but is '" .
Please login to merge, or discard this patch.