Completed
Push — master ( ec7e71...49b863 )
by Sergey
70:47 queued 53:43
created
src/Api/ProvidersContainer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
      */
62 62
     private function addProvider($provider)
63 63
     {
64
-        $className = self::PROVIDERS_NAMESPACE . ucfirst($provider);
64
+        $className = self::PROVIDERS_NAMESPACE.ucfirst($provider);
65 65
 
66
-        if (!class_exists($className)) {
66
+        if ( ! class_exists($className)) {
67 67
             throw new WrongProviderException("Provider $className not found.");
68 68
         }
69 69
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     private function buildProvider($className)
81 81
     {
82 82
         $ref = new ReflectionClass($className);
83
-        if (!$ref->isInstantiable()) {
83
+        if ( ! $ref->isInstantiable()) {
84 84
             throw new WrongProviderException('Provider class is not instantiable.');
85 85
         }
86 86
 
Please login to merge, or discard this patch.