|
12 | 12 | * |
13 | 13 | * @require-extends Illuminate\Database\Eloquent\Builder<NodeModel> |
14 | 14 | * |
15 | | - * @method NodeQueryBuilder select(array $columns) |
| 15 | + * @method NodeQueryBuilder<Tmodel> select(string[] $columns) |
16 | 16 | * @method Tmodel getModel() |
17 | | - * @method NodeQueryBuilder from(string $table) |
18 | | - * @method NodeQueryBuilder getQuery() |
19 | | - * @method NodeQueryBuilder whereRaw(string $sql, array $bindings = [], string $boolean = 'and') |
| 17 | + * @method NodeQueryBuilder<Tmodel> from(string $table) |
| 18 | + * @method NodeQueryBuilder<Tmodel> getQuery() |
| 19 | + * @method NodeQueryBuilder<Tmodel> whereRaw(string $sql, string[] $bindings = [], string $boolean = 'and') |
20 | 20 | * @method \Illuminate\Database\Query\Grammars\Grammar getGrammar() |
21 | | - * @method NodeQueryBuilder whereNested(\Closure|string $callback, string $boolean = 'and') |
22 | | - * @method NestedSetCollection<Tmodel> get(array $columns = ['*']) |
| 21 | + * @method NodeQueryBuilder<Tmodel> whereNested(\Closure|string $callback, string $boolean = 'and') |
| 22 | + * @method NestedSetCollection<Tmodel> get(string[] $columns = ['*']) |
23 | 23 | * @method int max(string $column) |
24 | | - * @method NodeQueryBuilder where(string|array|\Closure $column, mixed $operator = null, mixed $value = null, string $boolean = 'and') |
25 | | - * @method NodeModel|null first(array|string $columns = ['*']) |
| 24 | + * @method NodeQueryBuilder<Tmodel> where(string|string[]|\Closure $column, mixed $operator = null, mixed $value = null, string $boolean = 'and') |
| 25 | + * @method NodeModel|null first(string[]|string $columns = ['*']) |
26 | 26 | * @method NodeModel findOrFail(int|string $id) |
27 | | - * @method NodeQueryBuilder skip(int $value) |
28 | | - * @method NodeQueryBuilder take(int $value) |
29 | | - * @method NodeQueryBuilder orderBy(string $column, string $direction = 'asc') |
30 | | - * @method NodeQueryBuilder when(bool $value, \Closure $callback) |
| 27 | + * @method NodeQueryBuilder<Tmodel> skip(int $value) |
| 28 | + * @method NodeQueryBuilder<Tmodel> take(int $value) |
| 29 | + * @method NodeQueryBuilder<Tmodel> orderBy(string $column, string $direction = 'asc') |
| 30 | + * @method NodeQueryBuilder<Tmodel> when(bool $value, \Closure $callback) |
31 | 31 | * @method BaseQueryBuilder toBase() |
32 | 32 | */ |
33 | 33 | interface NodeQueryBuilder extends Builder |
|
0 commit comments