Skip to content

Commit

Permalink
Merge branch '5.1' into 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Nov 30, 2024
2 parents b5ec0b7 + 4828684 commit c791afc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PHPStan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']

runs-on: ubuntu-latest
name: PHPStan - ${{ matrix.php_versions }}
Expand Down
2 changes: 1 addition & 1 deletion src/Fortress/ServerSideValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function data(): array
*
* @return mixed[]|bool
*/
public function errors(string $field = null)
public function errors(string|null $field = null)
{
if ($field !== null) {
return isset($this->errors[$field]) ? $this->errors[$field] : false;
Expand Down

0 comments on commit c791afc

Please sign in to comment.