@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | - * @return mixed |
|
| 21 | + * @return string |
|
| 22 | 22 | */ |
| 23 | 23 | public function getModel() |
| 24 | 24 | { |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @return mixed |
|
| 37 | + * @return string |
|
| 38 | 38 | */ |
| 39 | 39 | public function getLabel() |
| 40 | 40 | { |
@@ -10,6 +10,10 @@ |
||
| 10 | 10 | private $foreignKey; |
| 11 | 11 | private $name; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $type |
|
| 15 | + * @param string $model |
|
| 16 | + */ |
|
| 13 | 17 | public function __construct($name, $type, $model, $localKey = null, $foreignKey) |
| 14 | 18 | { |
| 15 | 19 | $this->type = $type; |