@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Perform database request and return different results depending on function arguments. |
100 | 100 | * @see \samson\activerecord\Record |
101 | 101 | * @param array $result External variable to store dabatase request results collection |
102 | - * @param integer|bool $rType Amount of arguments passed to parent function |
|
102 | + * @param integer $rType Amount of arguments passed to parent function |
|
103 | 103 | * @param integer $limit Quantity of records to return |
104 | 104 | * @param callable $handler External callable handler for results modification |
105 | 105 | * @param array $handlerArgs External callable handler arguments |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * Set query entity to work with. |
162 | 162 | * |
163 | 163 | * @param string $entity Entity identifier |
164 | - * @return Query|string Chaining or current entity identifier if nothing is passed |
|
164 | + * @return string|null Chaining or current entity identifier if nothing is passed |
|
165 | 165 | * @throws EntityNotFound |
166 | 166 | */ |
167 | 167 | public function entity($entity = null) |