@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | * @param bool $hasPreviousSession |
256 | 256 | * @param mixed $duplicateReturn |
257 | 257 | * @param mixed $getSessionReturn |
258 | - * @return \PHPUnit_Framework_MockObject_MockObject|Request |
|
258 | + * @return Request|null |
|
259 | 259 | */ |
260 | 260 | private function createRequestStub($hasSessionReturn = null, $hasPreviousSession = null, $duplicateReturn = null, $getSessionReturn = null) |
261 | 261 | { |
@@ -293,6 +293,9 @@ discard block |
||
293 | 293 | return $this->getMock('AerialShip\SamlSPBundle\RelyingParty\RelyingPartyInterface'); |
294 | 294 | } |
295 | 295 | |
296 | + /** |
|
297 | + * @param boolean $supportsReturn |
|
298 | + */ |
|
296 | 299 | private function createRelyingPartyStub($supportsReturn = null, $manageReturn = null) |
297 | 300 | { |
298 | 301 | $relyingPartyMock = $this->createRelyingPartyMock(); |
@@ -321,7 +324,7 @@ discard block |
||
321 | 324 | |
322 | 325 | /** |
323 | 326 | * @param Request|null $request |
324 | - * @return \PHPUnit_Framework_MockObject_MockObject|GetResponseEvent |
|
327 | + * @return GetResponseEvent |
|
325 | 328 | */ |
326 | 329 | private function createGetResponseEventStub($request = null) |
327 | 330 | { |
@@ -346,7 +349,7 @@ discard block |
||
346 | 349 | } |
347 | 350 | |
348 | 351 | /** |
349 | - * @return \PHPUnit_Framework_MockObject_MockObject|TokenStorage |
|
352 | + * @return \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface |
|
350 | 353 | */ |
351 | 354 | private function createTokenStorageMock() |
352 | 355 | { |
@@ -362,7 +365,7 @@ discard block |
||
362 | 365 | } |
363 | 366 | |
364 | 367 | /** |
365 | - * @return \PHPUnit_Framework_MockObject_MockObject|SessionAuthenticationStrategyInterface |
|
368 | + * @return SessionAuthenticationStrategyInterface |
|
366 | 369 | */ |
367 | 370 | private function createSessionAuthenticationStrategyMock() |
368 | 371 | { |
@@ -378,8 +381,8 @@ discard block |
||
378 | 381 | } |
379 | 382 | |
380 | 383 | /** |
381 | - * @param null $checkRequestPathResult |
|
382 | - * @param null $createRedirectResponseReturn |
|
384 | + * @param boolean $checkRequestPathResult |
|
385 | + * @param RedirectResponse $createRedirectResponseReturn |
|
383 | 386 | * @return \PHPUnit_Framework_MockObject_MockObject|HttpUtils |
384 | 387 | */ |
385 | 388 | private function createHttpUtilsStub($checkRequestPathResult = null, $createRedirectResponseReturn = null) |
@@ -402,7 +405,7 @@ discard block |
||
402 | 405 | |
403 | 406 | |
404 | 407 | /** |
405 | - * @return \PHPUnit_Framework_MockObject_MockObject|AuthenticationSuccessHandlerInterface |
|
408 | + * @return AuthenticationSuccessHandlerInterface |
|
406 | 409 | */ |
407 | 410 | private function createAuthenticationSuccessHandlerMock() |
408 | 411 | { |
@@ -410,7 +413,7 @@ discard block |
||
410 | 413 | } |
411 | 414 | |
412 | 415 | /** |
413 | - * @return \PHPUnit_Framework_MockObject_MockObject|AuthenticationSuccessHandlerInterface |
|
416 | + * @return AuthenticationSuccessHandlerInterface |
|
414 | 417 | */ |
415 | 418 | protected function createAuthenticationSuccessHandlerStub() |
416 | 419 | { |
@@ -426,7 +429,7 @@ discard block |
||
426 | 429 | } |
427 | 430 | |
428 | 431 | /** |
429 | - * @return \PHPUnit_Framework_MockObject_MockObject|AuthenticationFailureHandlerInterface |
|
432 | + * @return AuthenticationFailureHandlerInterface |
|
430 | 433 | */ |
431 | 434 | private function createAuthenticationFailureHandlerMock() |
432 | 435 | { |