Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matthi4s committed Jun 30, 2023
1 parent ea88b15 commit 97adb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Driver/Test/TestDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function addTable(string $name, array $entries): static
*/
public function getTable(string $name): TestTable
{
if (!$this->tables[$name]) {
if (!isset($this->tables[$name])) {
$this->tables[$name] = new TestTable($name);
}
return $this->tables[$name];
Expand Down

0 comments on commit 97adb4e

Please sign in to comment.