@@ -61,9 +61,9 @@ discard block |
||
| 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 |
||
| 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 | |