Skip to content

Commit

Permalink
Update Volition.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagof committed Sep 11, 2024
1 parent d626661 commit 17832e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Volition.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class Volition
*/
public function getElement(string $elementType, bool $throw = false): ?string
{
// @phpstan-ignore-next-line
$payloadClass = $this->conditions[$elementType] ?? $this->actions[$elementType] ?? null;
throw_if(
$payloadClass === null && $throw,
Expand Down

0 comments on commit 17832e9

Please sign in to comment.