public function toArray() : ?array
    {
        if (null === $this->stmt || false === $this->stmt) {
            return null;
        }
        return $this->stmt->toArray();
    }
public function toArray() : ?array
    {
        if (null === $this->stmt || false === $this->stmt) {
            return null;
        }
        return $this->stmt->toArray();
    }
public function toArray ( ) : ? array { if ( null === $ this -> stmt || false === $ this -> stmt ) { return null ; } return $ this -> stmt -> toArray ( ) ; }
Gets the results and a multidimensional array.

@return array|null The results as an array or null if this was not a select or if there was an error.
Gets the results and a multidimensional array .