@@ -19,6 +19,9 @@ discard block |
||
| 19 | 19 | } |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $operator |
|
| 24 | + */ |
|
| 22 | 25 | public function add_constraint($name, $operator, $value) |
| 23 | 26 | { |
| 24 | 27 | try { |
@@ -40,7 +43,7 @@ discard block |
||
| 40 | 43 | } |
| 41 | 44 | |
| 42 | 45 | /** |
| 43 | - * @return midgard\portable\api\object[] |
|
| 46 | + * @return Generator |
|
| 44 | 47 | */ |
| 45 | 48 | public function iterate() |
| 46 | 49 | { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | |
| 76 | 76 | $fqcn = $this->get_fcqn($property->link['target']); |
| 77 | 77 | |
| 78 | - if ( array_key_exists($fqcn, $this->types) |
|
| 78 | + if (array_key_exists($fqcn, $this->types) |
|
| 79 | 79 | || $property->link['target'] === $property->get_parent()->name) { |
| 80 | 80 | $target_class = $property->link['target']; |
| 81 | 81 | } else { |