Fix phpstan
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
d30a2336cf
commit
664b88564d
|
@ -13,8 +13,8 @@ class TestersBlock extends Block
|
|||
*/
|
||||
public function query(): Builder
|
||||
{
|
||||
return Member::with('memberships', fn ($q) => $q->isTrying())
|
||||
->whereHas('memberships', fn ($q) => $q->isTrying());
|
||||
return Member::whereHas('memberships', fn ($q) => $q->isTrying())
|
||||
->with('memberships', fn ($q) => $q->isTrying());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -502,3 +502,8 @@ parameters:
|
|||
message: "#^Call to an undefined method Phake\\\\Proxies\\\\VerifierProxy\\:\\:handle\\(\\)\\.$#"
|
||||
count: 2
|
||||
path: tests/Feature/Member/NamiPutMemberActionTest.php
|
||||
|
||||
-
|
||||
message: "#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\Relation\\<\\*, \\*, \\*\\>\\:\\:isTrying\\(\\)\\.$#"
|
||||
count: 1
|
||||
path: app/Membership/TestersBlock.php
|
||||
|
|
Loading…
Reference in New Issue