@@ -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 |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace samsoncms\api; |
| 9 | 9 | |
| 10 | 10 | use samson\activerecord\dbMySQLConnector; |
| 11 | -use samson\cms\CMSMaterial; |
|
| 12 | 11 | use samsoncms\api\query\Generic; |
| 13 | 12 | use samsonframework\orm\DatabaseInterface; |
| 14 | 13 | |
@@ -175,7 +175,7 @@ |
||
| 175 | 175 | /** |
| 176 | 176 | * Perform SamsonCMS query and get first matching entity. |
| 177 | 177 | * |
| 178 | - * @return \samsoncms\api\Entity First matching entity |
|
| 178 | + * @return \samsonframework\orm\RecordInterface|null First matching entity |
|
| 179 | 179 | */ |
| 180 | 180 | public function first() |
| 181 | 181 | { |