Skip to content

Commit 4828684

Browse files
committed
Fix PHP 8.4 Deprecation
1 parent d114c15 commit 4828684

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Fortress/ServerSideValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function data(): array
8686
*
8787
* @return mixed[]|bool
8888
*/
89-
public function errors(string $field = null)
89+
public function errors(string|null $field = null)
9090
{
9191
if ($field !== null) {
9292
return isset($this->errors[$field]) ? $this->errors[$field] : false;

0 commit comments

Comments
 (0)