@@ -8,7 +8,6 @@ |
||
| 8 | 8 | require('generated/Structure.php'); |
| 9 | 9 | require('generated/StructureField.php'); |
| 10 | 10 | |
| 11 | -use samsonframework\core\RequestInterface; |
|
| 12 | 11 | use samsonframework\core\ResourcesInterface; |
| 13 | 12 | use samsonframework\core\SystemInterface; |
| 14 | 13 | use samson\activerecord\TableRelation; |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | /** |
| 69 | 69 | * Get field table as multidimensional array. |
| 70 | 70 | * |
| 71 | - * @return array Field table represented as array |
|
| 71 | + * @return Row[] Field table represented as array |
|
| 72 | 72 | */ |
| 73 | 73 | public function toArray() |
| 74 | 74 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | * FieldsTable constructor. |
| 178 | 178 | * |
| 179 | 179 | * @param QueryInterface $query Database query interface |
| 180 | - * @param mixed $navigationID Navigation identifier for table structure |
|
| 180 | + * @param integer[] $navigationID Navigation identifier for table structure |
|
| 181 | 181 | * @param integer $materialID Table parent material identifier |
| 182 | 182 | * @param string|null $locale Locale identifier |
| 183 | 183 | */ |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace samsoncms\api\query; |
| 9 | 9 | |
| 10 | -use samson\activerecord\dbQuery; |
|
| 11 | 10 | use samsoncms\api\Field; |
| 12 | 11 | use samsonframework\orm\ArgumentInterface; |
| 13 | 12 | use samsonframework\orm\Condition; |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | /** |
| 72 | 72 | * Render table row. |
| 73 | 73 | * |
| 74 | - * @param array $items Collection of rendered rows. |
|
| 74 | + * @param string $items Collection of rendered rows. |
|
| 75 | 75 | * |
| 76 | 76 | * @return string Rendered HTML |
| 77 | 77 | */ |