Code Duplication    Length = 9-9 lines in 2 locations

src/Surfnet/StepupGateway/GatewayBundle/Controller/GatewayController.php 2 locations

@@ 136-144 (lines=9) @@
133
    /**
134
     * @return Response
135
     */
136
    public function sendLoaCannotBeGivenAction()
137
    {
138
        $responseContext = $this->getResponseContext();
139
        $gatewayLoginService = $this->getGatewayFailedResponseService();
140
141
        $response = $gatewayLoginService->sendLoaCannotBeGiven($responseContext);
142
143
        return $this->renderSamlResponse('consumeAssertion', $response);
144
    }
145
146
    /**
147
     * @return Response
@@ 149-157 (lines=9) @@
146
    /**
147
     * @return Response
148
     */
149
    public function sendAuthenticationCancelledByUserAction()
150
    {
151
        $responseContext = $this->getResponseContext();
152
        $gatewayLoginService = $this->getGatewayFailedResponseService();
153
154
        $response = $gatewayLoginService->sendAuthenticationCancelledByUser($responseContext);
155
156
        return $this->renderSamlResponse('consumeAssertion', $response);
157
    }
158
159
    /**
160
     * @param string         $view