@@ -63,7 +63,7 @@ |
||
| 63 | 63 | return $this->collection; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - /** @return array Collection of table rows(materials) identifiers */ |
|
| 66 | + /** @return string|null Collection of table rows(materials) identifiers */ |
|
| 67 | 67 | protected function rowIDs() |
| 68 | 68 | { |
| 69 | 69 | // Get collection of nested materials |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | * @param QueryInterface $query Query object instance |
| 72 | 72 | * @param string $materialID Material identifier |
| 73 | 73 | * @param string $fieldID Additional field identifier |
| 74 | - * @param mixed $return Variable to return found database record |
|
| 74 | + * @param MaterialField[] $return Variable to return found database record |
|
| 75 | 75 | * @param string $locale Locale identifier |
| 76 | 76 | * @return bool|null|self[] Field instance or null if 3rd parameter not passed |
| 77 | 77 | */ |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | /** |
| 96 | 96 | * Retrieve entities from database. |
| 97 | 97 | * |
| 98 | - * @param string|array $relationID Relation entity identifier or collection |
|
| 98 | + * @param string $relationID Relation entity identifier or collection |
|
| 99 | 99 | * @param mixed $relationValue Relation entity value |
| 100 | 100 | * @param string $executor Query execution function name |
| 101 | 101 | * @return mixed[] Collection of entity instances for this relation identifier |
@@ -7,9 +7,6 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace samsoncms\api\query; |
| 9 | 9 | |
| 10 | -use samson\activerecord\dbQuery; |
|
| 11 | -use samsonframework\orm\Query; |
|
| 12 | - |
|
| 13 | 10 | /** |
| 14 | 11 | * Material with additional fields query. |
| 15 | 12 | * @package samsoncms\api |
@@ -223,7 +223,7 @@ |
||
| 223 | 223 | * |
| 224 | 224 | * @param $navigationID |
| 225 | 225 | * @param $navigationName |
| 226 | - * @param $entityName |
|
| 226 | + * @param string $entityName |
|
| 227 | 227 | * @param $navigationFields |
| 228 | 228 | * @return string Generated entitiy class code |
| 229 | 229 | * @internal param array $navigationData Collection of structure info |