Code Duplication    Length = 9-9 lines in 2 locations

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

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