Skip to content

Commit

Permalink
feat: Finalize PHP 8.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dshafik committed Jan 3, 2025
1 parent 648bc33 commit 31a5452
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- php-versions: '8.3'
ignore-platform-reqs: '--ignore-platform-reqs'
- php-versions: '8.4'
ignore-platform-reqs: ''
ignore-platform-reqs: '--ignore-platform-reqs'
- php-versions: '8.4'
laravel-versions: '^10'
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion src/Bag/Attributes/Validation/Exists.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Exists extends Rule implements AttributeInterface
/**
* @param string|class-string<Model> $table
*/
public function __construct(string $table, string $column = null)
public function __construct(string $table, ?string $column = null)
{
parent::__construct('exists', $table, $column);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Bag/Attributes/Validation/Unique.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Unique extends Rule implements AttributeInterface
/**
* @param string|class-string<Model> $table
*/
public function __construct(string $table, string $column = null)
public function __construct(string $table, ?string $column = null)
{
parent::__construct('unique', $table, $column);
}
Expand Down

0 comments on commit 31a5452

Please sign in to comment.