src/Dao/MySql/OpenMySqlDao.php
public function query(
        TableInterface $table,
        DalInterface $dal): DaoInterface
    {
        if (!$table instanceof UserInterface) {
            throw new InvalidArgumentException(
                "Can't query table: must implement UserInterface");
        }
        return parent::query($table, $dal);
    }
public function query(
        TableInterface $table,
        DalInterface $dal): DaoInterface
    {
        if (!$table instanceof UserInterface) {
            throw new InvalidArgumentException(
                "Can't query table: must implement UserInterface");
        }
        return parent::query($table, $dal);
    }
{@inheritDoc}
@see \Seeren\Database\Dao\AbstractDao::query()