@@ -120,7 +120,7 @@ |
||
| 120 | 120 | * @param array $conditions The conditions to alter. |
| 121 | 121 | * @param array $modifiers The modifiers. |
| 122 | 122 | * |
| 123 | - * @return array The altered conditions. |
|
| 123 | + * @return CriterionList The altered conditions. |
|
| 124 | 124 | */ |
| 125 | 125 | public function alter_conditions(array &$conditions, array $modifiers) |
| 126 | 126 | { |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | /** |
| 187 | 187 | * Return the {@link $limit} property. |
| 188 | 188 | * |
| 189 | - * @return int|null |
|
| 189 | + * @return string|null |
|
| 190 | 190 | */ |
| 191 | 191 | protected function get_limit() |
| 192 | 192 | { |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | /** |
| 233 | 233 | * Initializes the {@link $model}, {@link $options} and {@link $criterion_list} properties. |
| 234 | 234 | * |
| 235 | - * @param Model|ModelBindings $model |
|
| 235 | + * @param Model $model |
|
| 236 | 236 | * @param array $options |
| 237 | 237 | */ |
| 238 | 238 | public function __construct(Model $model, array $options = []) |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | * |
| 269 | 269 | * @param array $modifiers |
| 270 | 270 | * |
| 271 | - * @return array The records matching the query. |
|
| 271 | + * @return RecordCollection The records matching the query. |
|
| 272 | 272 | */ |
| 273 | 273 | public function __invoke(array $modifiers) |
| 274 | 274 | { |
@@ -40,6 +40,9 @@ |
||
| 40 | 40 | protected $query_string; |
| 41 | 41 | protected $words; |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param string $query_string |
|
| 45 | + */ |
|
| 43 | 46 | public function __construct($query_string) |
| 44 | 47 | { |
| 45 | 48 | $this->query_string = (string) $query_string; |