Completed
Push — master ( acc298...5a479e )
by Marco
37:16 queued 12:22
created
src/GeneratedHydrator/CodeGenerator/Visitor/HydratorMethodsVisitor.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -71,6 +71,7 @@  discard block
 block discarded – undo
71 71
      * Find all class properties recursively using class hierarchy without
72 72
      * removing name redefinitions
73 73
      *
74
+     * @param ReflectionClass $class
74 75
      * @return ReflectionProperty[]
75 76
      */
76 77
     private function findAllInstanceProperties(?ReflectionClass $class = null) : array
@@ -83,6 +84,10 @@  discard block
 block discarded – undo
83 84
             $this->findAllInstanceProperties($class->getParentClass() ?: null), // of course PHP is shit.
84 85
             array_values(array_filter(
85 86
                 $class->getProperties(),
87
+
88
+                /**
89
+                 * @param ReflectionClass $property
90
+                 */
86 91
                 static function (ReflectionProperty $property) : bool {
87 92
                     return ! $property->isStatic();
88 93
                 }
Please login to merge, or discard this patch.