Completed
Push — master ( 7469ec...e31cc4 )
by Ma
02:25
created
src/Api/Module/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,12 +17,12 @@
 block discarded – undo
17 17
         }
18 18
 
19 19
         $className = self::MODULE_NAMESPACE.$systemPrefix.'\\'.$className;
20
-        if ( ! class_exists($className)) {
20
+        if (!class_exists($className)) {
21 21
             throw new ApiException('Invalid module given');
22 22
         }
23 23
 
24 24
         $reflectionClass = new \ReflectionClass($className);
25
-        if ( ! $reflectionClass->isSubclassOf(self::CONTRACT_NAMESPACE.'ModuleInterface')) {
25
+        if (!$reflectionClass->isSubclassOf(self::CONTRACT_NAMESPACE.'ModuleInterface')) {
26 26
             throw new ApiException('Not valid implementation of Module');
27 27
         }
28 28
 
Please login to merge, or discard this patch.