Code Duplication    Length = 9-9 lines in 2 locations

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

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