Skip to content

Commit

Permalink
Fix issue with protected actionUrl variable not having a default valu…
Browse files Browse the repository at this point in the history
…e assigned.

Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jul 15, 2023
1 parent 9f75a3f commit bb1c6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Flame/Exception/FlashException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class FlashException extends Exception

protected bool $shouldReport = false;

protected ?string $actionUrl;
protected ?string $actionUrl = null;

public function __construct($message, protected string $type = 'danger', $code = 406, Exception $previous = null)
{
Expand Down

0 comments on commit bb1c6f8

Please sign in to comment.