public function normalizeRequestMethods($methods)
    {
        if (is_string($methods)) {
            return strtoupper($methods);
        }

        foreach ($methods as $key => $method) {
            $methods[$key] = strtoupper($method);
        }

        return $methods;
    }
public function normalizeRequestMethods($methods)
    {
        if (is_string($methods)) {
            return strtoupper($methods);
        }

        foreach ($methods as $key => $method) {
            $methods[$key] = strtoupper($method);
        }

        return $methods;
    }
public function normalizeRequestMethods ( $ methods ) { if ( is_string ( $ methods ) ) { return strtoupper ( $ methods ) ; } foreach ( $ methods as $ key => $ method ) { $ methods [ $ key ] = strtoupper ( $ method ) ; } return $ methods ; }
Normalize request methods to uppercase.

@param  string|array $methods

@return string|array
Normalize request methods to uppercase .