| @@ -48,6 +48,9 @@ | ||
| 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; | 
| @@ -81,7 +81,7 @@ | ||
| 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 { | 
| @@ -83,8 +83,7 @@ | ||
| 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 | } |