Completed
Push — master ( a9fab6...6130c5 )
by Lucas
03:47
created
src/PhpDocReader/Reflector.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public static function getDoc($class, $property = null)
19 19
     {
20
-        if(!is_null($property))
20
+        if (!is_null($property))
21 21
             return self::getPropertyDoc($class, $property);
22 22
 
23 23
         return self::getClassDoc($class);
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,9 @@
 block discarded – undo
17 17
      */
18 18
     public static function getDoc($class, $property = null)
19 19
     {
20
-        if(!is_null($property))
21
-            return self::getPropertyDoc($class, $property);
20
+        if(!is_null($property)) {
21
+                    return self::getPropertyDoc($class, $property);
22
+        }
22 23
 
23 24
         return self::getClassDoc($class);
24 25
     }
Please login to merge, or discard this patch.