Skip to content

Commit

Permalink
Use named arguments for cleaner code
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed May 21, 2024
1 parent 65a32a0 commit 7da9054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/SessionStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private function getSession(): SessionInterface
try {
return $this->requestStack->getSession();
} catch (SessionNotFoundException $e) {
throw new StorageException($e->getMessage(), 0, $e);
throw new StorageException(message: $e->getMessage(), previous: $e);
}
}
}

0 comments on commit 7da9054

Please sign in to comment.