/** * @param string $fetch_type * @param string $statement * @param array $values * @param null $callable * @return array */ protected function fetchAllWithCallable($fetch_type, $statement, array $values = [], $callable = null) { $args = func_get_args(); $return = parent::fetchAllWithCallable(...$args); return is_array($return) ? $return : []; }