File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ protected function defaultDescription(): string
7878 private function getElement ()
7979 {
8080 if (is_array ($ this ->getIndex ()->criteria )) {
81- /** @phpstan-ignore-next-line */
8281 $ element = collect ($ this ->getIndex ()->criteria )->first (function (ElementQuery $ criteria ) {
8382 return $ criteria ->id ($ this ->id )->siteId ($ this ->siteId )->exists ();
8483 });
@@ -95,7 +94,6 @@ private function getElement()
9594 private function getAnyElement ()
9695 {
9796 if (is_array ($ this ->getIndex ()->criteria )) {
98- /** @phpstan-ignore-next-line */
9997 $ element = collect ($ this ->getIndex ()->criteria )->first (function (ElementQuery $ criteria ) {
10098 return $ criteria ->id ($ this ->id )->siteId ($ this ->siteId )->status (null )->exists ();
10199 });
You can’t perform that action at this time.
0 commit comments