src/ImageResponse.php
public function withStatus($status, $reasonPhrase = '')
    {
        $response = clone $this;
        $response->status = $status;
        $response->reason = $reasonPhrase;

        return $response;
    }
public function withStatus($status, $reasonPhrase = '')
    {
        $response = clone $this;
        $response->status = $status;
        $response->reason = $reasonPhrase;

        return $response;
    }
{@inheritdoc}