Lint
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
2fffc17ffc
commit
86590f93a5
|
@ -9,7 +9,6 @@ use Illuminate\Support\Facades\Validator;
|
|||
use Lorisleiva\Actions\ActionRequest;
|
||||
use Lorisleiva\Actions\Concerns\AsAction;
|
||||
use Zoomyboy\Tex\BaseCompiler;
|
||||
use Zoomyboy\Tex\Compiler;
|
||||
use Zoomyboy\Tex\Tex;
|
||||
|
||||
class GenerateAction
|
||||
|
@ -25,7 +24,7 @@ class GenerateAction
|
|||
return Tex::compile($document::fromRequest($payload));
|
||||
}
|
||||
|
||||
public function asController(ActionRequest $request): Compiler
|
||||
public function asController(ActionRequest $request): BaseCompiler
|
||||
{
|
||||
$payload = $this->payload($request);
|
||||
$type = data_get($payload, 'type');
|
||||
|
|
|
@ -376,8 +376,7 @@ class Member extends Model
|
|||
/**
|
||||
* @todo refactor this to an actual filter model
|
||||
*
|
||||
* @param Builder<self> $query
|
||||
* @param array<string, mixed> $filter
|
||||
* @param Builder<self> $query
|
||||
*
|
||||
* @return Builder<self>
|
||||
*/
|
||||
|
|
10
phpstan.neon
10
phpstan.neon
|
@ -100,11 +100,6 @@ parameters:
|
|||
count: 1
|
||||
path: app/Http/Controllers/Auth/RegisterController.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Http\\\\Views\\\\MemberView\\:\\:index\\(\\) has parameter \\$filter with no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Views/MemberView.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Http\\\\Views\\\\MemberView\\:\\:index\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
|
@ -135,11 +130,6 @@ parameters:
|
|||
count: 1
|
||||
path: app/Member/Member.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Member\\\\MemberController\\:\\:\\$filter type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: app/Member/MemberController.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Member\\\\MemberRequest\\:\\:rules\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
|
|
Loading…
Reference in New Issue