Code Duplication    Length = 7-7 lines in 2 locations

src/Client/SQL/Cache/CacheMaintenanceSQL.php 1 location

@@ 57-63 (lines=7) @@
54
     * @return bool
55
     * @throws SQLException
56
     */
57
    public function setup()
58
    {
59
        if (!$this->createTable($this->pdo, self::TABLE_CACHE, file_get_contents(__DIR__ . '/cache.sql'))) {
60
            throw new SQLException('Unable to create table! Please read instructions at ' . self::README_SQL_CACHE);
61
        }
62
        return true;
63
    }
64
}
65

src/Client/SQL/Delay/DelayMaintenanceSQL.php 1 location

@@ 54-60 (lines=7) @@
51
     * @return bool
52
     * @throws SQLException
53
     */
54
    public function setup()
55
    {
56
        if (!$this->createTable($this->pdo, self::TABLE_DELAY, file_get_contents(__DIR__ . '/delay.sql'))) {
57
            throw new SQLException('Unable to create table! Please read instructions at ' . self::README_SQL_DELAY);
58
        }
59
        return true;
60
    }
61
}
62