Skip to content

Commit

Permalink
fix: invalid code with ::class
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 22, 2023
1 parent db2fbaf commit 2b1efed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Test/FilterTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ protected function getFilterCaller($filter, string $position): Closure
$filter = new $class();

if (! $filter instanceof FilterInterface) {
throw FilterException::forIncorrectInterface(get_class($filter::class));
throw FilterException::forIncorrectInterface($filter::class);
}
}

Expand Down

0 comments on commit 2b1efed

Please sign in to comment.