Skip to content

Commit

Permalink
type correction
Browse files Browse the repository at this point in the history
  • Loading branch information
matesko committed Mar 25, 2022
1 parent b0287f7 commit 6335713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Doctrine/TablePrefixTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ trait TablePrefixTrait
/** @var ManagerRegistry */
private $registry;

protected function setTablePrefix(ObjectManager $manager, string $prefix)
protected function setTablePrefix(ObjectManager $manager, string|array $prefix)
{
$key = spl_object_hash($manager);
$this->tablePrefixes[$key] = empty($prefix) ? '' : Str::ensureEndsWith($prefix, '_');
Expand Down

0 comments on commit 6335713

Please sign in to comment.