EloquentBuilderMixin
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
c 0
b 0
f 0
wmc 0
1
<?php
2
3
namespace SaasReady\Traits;
4
5
use Closure;
6
use Illuminate\Contracts\Support\Arrayable;
0 ignored issues
show
Bug introduced by
The type Illuminate\Contracts\Support\Arrayable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
use Illuminate\Database\Eloquent\Builder;
0 ignored issues
show
Bug introduced by
The type Illuminate\Database\Eloquent\Builder was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use Illuminate\Database\Eloquent\Collection as EloquentCollection;
0 ignored issues
show
Bug introduced by
The type Illuminate\Database\Eloquent\Collection was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
use Illuminate\Support\Collection;
0 ignored issues
show
Bug introduced by
The type Illuminate\Support\Collection was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
10
use Illuminate\Support\LazyCollection;
0 ignored issues
show
Bug introduced by
The type Illuminate\Support\LazyCollection was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
12
/**
13
 * @method static static create(array $attributes = [])
14
 * @method static static firstOrCreate(array $attributes, array $values = [])
15
 * @method static static updateOrCreate(array $attributes, array $values = [])
16
 * @method static static|null first($columns = ['*'])
17
 * @method static static|null find(int|string $id, $columns = ['*'])
18
 * @method static static[]|EloquentCollection get($columns = ['*'])
19
 * @method static Builder|static where(Closure|string|array $column, mixed $operator = null, mixed $value = null, string $boolean = 'and')
20
 * @method static Builder|static latest(string $column = null)
21
 * @method static Builder|static whereIn(string $column, array|Arrayable $values, string $boolean = 'and')
22
 * @method static Builder|static whereNotIn(string $column, array|Arrayable $values, string $boolean = 'and')
23
 * @method static Builder|static whereNull(string $columns, string $boolean = 'and', bool $not = false)
24
 * @method static Builder|static whereNotNull(string $columns, string $boolean = 'and')
25
 * @method static Builder|static whereHas(string $relation, Closure $callback = null, string $operator = '>=', int $count = 1)
26
 * @method static Builder|static whereDoesntHave(string $relation, Closure $callback = null)
27
 * @method static Builder|static doesntHave(string $relation, string $boolean = 'and', Closure $callback = null)
28
 * @method static Builder|static has(string $relation, string $operator = '>=', int $count = 1, string $boolean = 'and', Closure $callback = null)
29
 * @method static Builder|static whereJsonContains(string $column, string $value, string $boolean = 'and', bool $not = false)
30
 * @method static Builder|static whereBetween(string $column, array|Arrayable $values, string $boolean = 'and', bool $not = false)
31
 * @method static Builder|static inRandomOrder($seed = '')
32
 * @method static Builder|static newModelQuery()
33
 * @method static Builder|static newQuery()
34
 * @method static Builder|static query()
35
 * @method static Collection pluck(string $column, string $key = null)
36
 * @method static LazyCollection|static[] cursor()
37
 * @method static Builder|static select(string|array ...$columns)
38
 * @method static Builder|static orderBy(string $column, string $direction = 'asc')
39
 * @method static Builder|static join(string $table, string|Closure $first, string $operator = null, string $second = null, string $type = 'inner', bool $where = false)
40
 */
41
trait EloquentBuilderMixin
42
{
43
}
44