Skip to content

Commit

Permalink
🔧 php 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
willpower232 committed Nov 26, 2024
1 parent 0c27fc5 commit 2279a86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
laravel: [10, 11]
php: [8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3, 8.4]
exclude:
- php: 8.1
laravel: 11
Expand Down
2 changes: 1 addition & 1 deletion src/Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function output($desiredOutput): Alert
*
* By default the alert is not typed.
*/
public function message(string $text, string $title = '', string $type = null): self
public function message(string $text, string $title = '', ?string $type = null): self
{
if (array_key_exists('text', $this->fields)) {
$this->fields['text'] = $text;
Expand Down
2 changes: 1 addition & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Arrange for an alert message.
*/
function alert(string $message = null, string $title = ''): Alert
function alert(?string $message = null, string $title = ''): Alert
{
/** @var Alert $notifier */
$notifier = app('synergitech.alert');
Expand Down

0 comments on commit 2279a86

Please sign in to comment.