Skip to content

Commit 53cc597

Browse files
committed
PHP 8.4 compatibility
1 parent a57cdb3 commit 53cc597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Faker/FakerCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class FakerCategory
8181
*/
8282
private array $localizedGenerators;
8383

84-
public static function getCategory(string $category = null): self
84+
public static function getCategory(?string $category = null): self
8585
{
8686
// Choose a random category
8787
if (null === $category) {

0 commit comments

Comments
 (0)