Skip to content

Commit

Permalink
Make compatible with 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
endroid committed Oct 19, 2024
1 parent e64a606 commit 7b081ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Factory/AssetFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function addFactory(FactoryAdapterInterface $factory): void
}

/** @param array<mixed> $options */
public function create(string $className = null, array $options = []): AssetInterface
public function create(?string $className = null, array $options = []): AssetInterface
{
if (null === $className) {
$className = $this->classGuesser->guessClassName($options);
Expand Down

0 comments on commit 7b081ff

Please sign in to comment.