@@ -1,7 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace samsoncms\api; |
| 3 | 3 | |
| 4 | -use samson\activerecord\dbRelation; |
|
| 5 | 4 | use samson\activerecord\field; |
| 6 | 5 | use samson\activerecord\materialfield; |
| 7 | 6 | use samson\activerecord\structure; |
@@ -10,7 +9,6 @@ discard block |
||
| 10 | 9 | use samson\activerecord\TableRelation; |
| 11 | 10 | use samson\activerecord\material; |
| 12 | 11 | use samson\core\CompressableService; |
| 13 | -use samson\activerecord\dbRecord; |
|
| 14 | 12 | use samson\activerecord\dbMySQLConnector; |
| 15 | 13 | |
| 16 | 14 | /** |
@@ -36,9 +36,7 @@ discard block |
||
| 36 | 36 | * |
| 37 | 37 | * @param QueryInterface $query Database query instance |
| 38 | 38 | * @param string $materialID Additional field identifier |
| 39 | - * @param string $fieldValue Additional field value for searching |
|
| 40 | 39 | * @param array|null $return Variable where request result would be returned |
| 41 | - * @param array $materialIDs Collection of material identifiers for filtering query |
|
| 42 | 40 | * @return bool|array True if material entities has been found and $return is passed |
| 43 | 41 | * or identifiers collection if only two parameters is passed. |
| 44 | 42 | */ |
@@ -89,7 +87,7 @@ discard block |
||
| 89 | 87 | * @param QueryInterface $query Query object instance |
| 90 | 88 | * @param string $materialID Material identifier |
| 91 | 89 | * @param string $fieldID Additional field identifier |
| 92 | - * @param self[]|null $return Variable to return found database record |
|
| 90 | + * @param MaterialField[] $return Variable to return found database record |
|
| 93 | 91 | * @param string $locale Locale identifier |
| 94 | 92 | * @return bool|null|self[] Field instance or null if 3rd parameter not passed |
| 95 | 93 | */ |