Skip to content

Commit fb7001e

Browse files
authored
Revert some added method type hints from #21 (#24)
These methods may, in fact, also accept `string` type parameters. The cast to `array` will happen only later on in `MetaQuery::addTable()` and similar methods.
1 parent 2242467 commit fb7001e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Helper/LastmodHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,17 @@ public function setResetInterval(int $resetInterval): void
7272
$this->resetInterval = $resetInterval;
7373
}
7474

75-
public function setEntities(array $entities): void
75+
public function setEntities($entities): void
7676
{
7777
$this->entities = $entities;
7878
}
7979

80-
public function setTableIdConstants(array $tableIdConstants): void
80+
public function setTableIdConstants($tableIdConstants): void
8181
{
8282
$this->tableIdConstants = $tableIdConstants;
8383
}
8484

85-
public function setTables(array $tables): void
85+
public function setTables($tables): void
8686
{
8787
$this->tables = $tables;
8888
}

0 commit comments

Comments
 (0)