Merge pull request #63 from AuroraWebSoftware/performans_improvoment #126
Annotations
10 errors and 1 warning
phpstan:
src/AAuth.php#L51
Parameter #1 $column of method Illuminate\Database\Eloquent\Relations\BelongsToMany<AuroraWebSoftware\AAuth\Models\Role>::where() expects array<int|model property of AuroraWebSoftware\AAuth\Models\Role, mixed>|(Closure(Illuminate\Database\Eloquent\Relations\BelongsToMany<AuroraWebSoftware\AAuth\Models\Role>): Illuminate\Database\Eloquent\Relations\BelongsToMany<AuroraWebSoftware\AAuth\Models\Role>)|(Closure(Illuminate\Database\Eloquent\Relations\BelongsToMany<AuroraWebSoftware\AAuth\Models\Role>): void)|Illuminate\Contracts\Database\Query\Expression|model property of AuroraWebSoftware\AAuth\Models\Role, 'roles.id' given.
|
phpstan:
src/AAuth.php#L88
Parameter #1 $columns of method Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>::get() expects array<int, model property of AuroraWebSoftware\AAuth\Models\Role>|model property of AuroraWebSoftware\AAuth\Models\Role, array<int, string> given.
|
phpstan:
src/AAuth.php#L98
Parameter #1 $column of static method Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>::where() expects array<int|model property of AuroraWebSoftware\AAuth\Models\Role, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>)|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): void)|Illuminate\Contracts\Database\Query\Expression|model property of AuroraWebSoftware\AAuth\Models\Role, 'uro.user_id' given.
|
phpstan:
src/AAuth.php#L101
Parameter #1 $columns of method Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>::get() expects array<int, model property of AuroraWebSoftware\AAuth\Models\Role>|model property of AuroraWebSoftware\AAuth\Models\Role, array<int, string> given.
|
phpstan:
src/AAuth.php#L111
Parameter #1 $column of static method Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>::where() expects array<int|model property of AuroraWebSoftware\AAuth\Models\Role, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>)|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): void)|Illuminate\Contracts\Database\Query\Expression|model property of AuroraWebSoftware\AAuth\Models\Role, 'roles.id' given.
|
phpstan:
src/AAuth.php#L121
Parameter #1 $column of static method Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>::where() expects array<int|model property of AuroraWebSoftware\AAuth\Models\Role, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>)|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): void)|Illuminate\Contracts\Database\Query\Expression|model property of AuroraWebSoftware\AAuth\Models\Role, 'roles.id' given.
|
phpstan:
src/AAuth.php#L132
Parameter #1 $column of static method Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>::where() expects array<int|model property of AuroraWebSoftware\AAuth\Models\Role, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>)|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): void)|Illuminate\Contracts\Database\Query\Expression|model property of AuroraWebSoftware\AAuth\Models\Role, 'roles.id' given.
|
phpstan:
src/AAuth.php#L146
Parameter #1 $column of static method Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>::where() expects array<int|model property of AuroraWebSoftware\AAuth\Models\Role, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>)|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): void)|Illuminate\Contracts\Database\Query\Expression|model property of AuroraWebSoftware\AAuth\Models\Role, 'roles.id' given.
|
phpstan:
src/AAuth.php#L148
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>::where() expects array<int|model property of AuroraWebSoftware\AAuth\Models\Role, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>)|(Closure(Illuminate\Database\Eloquent\Builder<AuroraWebSoftware\AAuth\Models\Role>): void)|Illuminate\Contracts\Database\Query\Expression|model property of AuroraWebSoftware\AAuth\Models\Role, 'rp.permission' given.
|
phpstan
Process completed with exit code 1.
|
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|