Skip to content

Commit

Permalink
Chore: Improve return types (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek authored Nov 17, 2023
1 parent 80296e6 commit d000b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EtlState.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ public function flush(): void
/**
* Skip current item.
*/
public function skip(): void
public function skip(): never
{
throw new SkipRequest();
}

/**
* Stop after current item.
*/
public function stop(): void
public function stop(): never
{
throw new StopRequest();
}
Expand Down

0 comments on commit d000b47

Please sign in to comment.