Completed
Push — master ( 58e1a3...56d6f2 )
by Maik
01:20
created
src/QueryResultParser.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@
 block discarded – undo
48 48
         return $result;
49 49
     }
50 50
     
51
+    /**
52
+     * @param string $propertyName
53
+     */
51 54
     private function assignPropertyValue(ReflectionMethod $method, $destObject, $object, $propertyName) {
52 55
         if (property_exists($object, $propertyName)) {
53 56
             $property = $object->$propertyName;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
                     $this->assignPropertyValue($method, $res, $result, $propertyName);
82 82
                 }
83 83
             }
84
-            if( $isResult ) {
84
+            if ($isResult) {
85 85
                 $queryResult->addResult($res);
86 86
             }
87 87
             else {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
             }
84 84
             if( $isResult ) {
85 85
                 $queryResult->addResult($res);
86
-            }
87
-            else {
86
+            } else {
88 87
                 $queryResult->addRelatedTopic($res);
89 88
             }
90 89
         }
Please login to merge, or discard this patch.