Passed
Push — master ( 9dd3d7...e80abc )
by Fran
03:24
created
src/services/DocumentorService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -422,7 +422,7 @@
 block discarded – undo
422 422
                                 "type" => $type,
423 423
                             ];
424 424
                             if (strlen($format)) {
425
-                               $dto['properties'][$field]['format'] = $format;
425
+                                $dto['properties'][$field]['format'] = $format;
426 426
                             }
427 427
                         }
428 428
                     }
Please login to merge, or discard this patch.
src/base/types/helpers/InjectorHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      */
16 16
     public static function extractVariables(\ReflectionClass $reflector) {
17 17
         $variables = [];
18
-        foreach($reflector->getProperties(\ReflectionProperty::IS_PUBLIC) as $property) {
18
+        foreach ($reflector->getProperties(\ReflectionProperty::IS_PUBLIC) as $property) {
19 19
             $instanceType = self::extractVarType($property->getDocComment());
20 20
             if (null !== $instanceType) {
21 21
                 $variables[$property->getName()] = $instanceType;
@@ -69,13 +69,13 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public static function constructInyectableInstance($variable, $singleton, $classNameSpace, $calledClass)
71 71
     {
72
-        Logger::log('Create inyectable instance for ' . $classNameSpace);
72
+        Logger::log('Create inyectable instance for '.$classNameSpace);
73 73
         $reflector = new \ReflectionClass($calledClass);
74 74
         $property = $reflector->getProperty($variable);
75 75
         $varInstanceType = (null === $classNameSpace) ? InjectorHelper::extractVarType($property->getDocComment()) : $classNameSpace;
76 76
         if (true === $singleton && method_exists($varInstanceType, "getInstance")) {
77 77
             $instance = $varInstanceType::getInstance();
78
-        } else {
78
+        }else {
79 79
             $instance = new $varInstanceType();
80 80
         }
81 81
         return $instance;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     public static function getClassProperties($class)
90 90
     {
91 91
         $properties = [];
92
-        Logger::log('Extracting annotations properties from class ' . $class);
92
+        Logger::log('Extracting annotations properties from class '.$class);
93 93
         $selfReflector = new \ReflectionClass($class);
94 94
         if (false !== $selfReflector->getParentClass()) {
95 95
             $properties = self::getClassProperties($selfReflector->getParentClass()->getName());
Please login to merge, or discard this patch.