src/Action.php
public function setMethod($method)
    {
        if (!is_string($method)) {
            $exMsg = sprintf('Provided method `%s` is not a string', $method);
            throw new LogicException($exMsg);
        }

        $this->method = $method;

        return $this;
    }
public function setMethod($method)
    {
        if (!is_string($method)) {
            $exMsg = sprintf('Provided method `%s` is not a string', $method);
            throw new LogicException($exMsg);
        }

        $this->method = $method;

        return $this;
    }
Set method

@param string $method
@return $this