src/Model/Data/SchemaData.php
private function getSchemaTypes(string $driver): array
    {
        if ($driver == Driver::MYSQL) {
            return [MysqlSchema::$typeMap, MysqlSchema::$phpMap];
        }
        if ($driver == Driver::PGSQL) {
            return [PgsqlSchema::$typeMap, PgsqlSchema::$phpMap];
        }

        throw new \RuntimeException(sprintf('The %s schema does not support!', $driver));
    }
private function getSchemaTypes(string $driver): array
    {
        if ($driver == Driver::MYSQL) {
            return [MysqlSchema::$typeMap, MysqlSchema::$phpMap];
        }
        if ($driver == Driver::PGSQL) {
            return [PgsqlSchema::$typeMap, PgsqlSchema::$phpMap];
        }

        throw new \RuntimeException(sprintf('The %s schema does not support!', $driver));
    }
private function getSchemaTypes ( string $ driver ) : array { if ( $ driver == Driver :: MYSQL ) { return [ MysqlSchema :: $ typeMap , MysqlSchema :: $ phpMap ] ; } if ( $ driver == Driver :: PGSQL ) { return [ PgsqlSchema :: $ typeMap , PgsqlSchema :: $ phpMap ] ; } throw new \ RuntimeException ( sprintf ( 'The %s schema does not support!' , $ driver ) ) ; }
@param string $driver

@return array
@param string $driver