src/Database/Migration/Adapter/PostgresAdapter.php
protected function isArrayType($columnType)
    {
        if (!\preg_match('/^([a-z]+)(?:\[\]){1,}$/', $columnType, $matches)) {
            return false;
        }

        $baseType = $matches[1];

        return \in_array($baseType, $this->getColumnTypes(), true);
    }
protected function isArrayType($columnType)
    {
        if (!\preg_match('/^([a-z]+)(?:\[\]){1,}$/', $columnType, $matches)) {
            return false;
        }

        $baseType = $matches[1];

        return \in_array($baseType, $this->getColumnTypes(), true);
    }
protected function isArrayType ( $ columnType ) { if ( ! \ preg_match ( '/^([a-z]+)(?:\[\]){1,}$/' , $ columnType , $ matches ) ) { return false ; } $ baseType = $ matches [ 1 ] ; return \ in_array ( $ baseType , $ this -> getColumnTypes ( ) , true ) ; }
Check if the given column is an array of a valid type.

@param  string $columnType

@return bool
Check if the given column is an array of a valid type .