Completed
Push — master ( fb9acf...d5bbb9 )
by Milos
13:14
created
src/AerialShip/SamlSPBundle/Tests/Config/ServiceInfoCollectionTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -254,8 +254,8 @@  discard block
 block discarded – undo
254 254
 
255 255
 
256 256
     /**
257
-     * @param $providerID
258
-     * @param $idpID
257
+     * @param string $providerID
258
+     * @param string $idpID
259 259
      * @param $spProvider
260 260
      * @param $idpProvider
261 261
      * @param $spMetaProvider
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     }
304 304
 
305 305
     /**
306
-     * @param $entityID
306
+     * @param string $entityID
307 307
      * @return EntityDescriptor|\PHPUnit_Framework_MockObject_MockObject
308 308
      */
309 309
     protected function createEntityDescriptorStub($entityID)
Please login to merge, or discard this patch.
src/AerialShip/SamlSPBundle/Tests/Config/SpEntityDescriptorBuilderTest.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
 
292 292
 
293 293
     /**
294
-     * @return \PHPUnit_Framework_MockObject_MockObject|SPSigningProviderInterface
294
+     * @return SPSigningProviderInterface
295 295
      */
296 296
     protected function createSPSigningProviderMock()
297 297
     {
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
 
301 301
 
302 302
     /**
303
-     * @param $enabled
303
+     * @param boolean $enabled
304 304
      * @param $certificate
305 305
      * @param $key
306 306
      * @return SPSigningProviderInterface|\PHPUnit_Framework_MockObject_MockObject
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
     }
321 321
 
322 322
     /**
323
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\Security\Http\HttpUtils
323
+     * @return null|\Symfony\Component\Security\Http\HttpUtils
324 324
      */
325 325
     protected function createHttpUtilsMock()
326 326
     {
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
     }
329 329
 
330 330
     /**
331
-     * @param $generateUriReturn
331
+     * @param string $generateUriReturn
332 332
      * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\Security\Http\HttpUtils
333 333
      */
334 334
     protected function createHttpUtilsStub($generateUriReturn)
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
 
351 351
 
352 352
     /**
353
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\HttpFoundation\Request
353
+     * @return \Symfony\Component\HttpFoundation\Request
354 354
      */
355 355
     private function createRequestMock()
356 356
     {
Please login to merge, or discard this patch.
AerialShip/SamlSPBundle/Tests/RelyingParty/RelyingPartyCollectionTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     }
234 234
 
235 235
     /**
236
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\HttpFoundation\Request
236
+     * @return \Symfony\Component\HttpFoundation\Request
237 237
      */
238 238
     public function createRequestMock()
239 239
     {
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     }
242 242
 
243 243
     /**
244
-     * @return \PHPUnit_Framework_MockObject_MockObject|\AerialShip\SamlSPBundle\RelyingParty\RelyingPartyInterface
244
+     * @return \AerialShip\SamlSPBundle\RelyingParty\RelyingPartyInterface
245 245
      */
246 246
     public function createRelyingPartyMock()
247 247
     {
Please login to merge, or discard this patch.
SamlSPBundle/Tests/Security/Http/SamlSpAuthenticationListenerTest.php 1 patch
Doc Comments   +14 added lines, -11 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
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
     {
@@ -286,13 +286,16 @@  discard block
 block discarded – undo
286 286
     }
287 287
 
288 288
     /**
289
-     * @return \PHPUnit_Framework_MockObject_MockObject|RelyingPartyInterface
289
+     * @return RelyingPartyInterface
290 290
      */
291 291
     private function createRelyingPartyMock()
292 292
     {
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
 block discarded – undo
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
 block discarded – undo
346 349
     }
347 350
 
348 351
     /**
349
-     * @return \PHPUnit_Framework_MockObject_MockObject|SecurityContextInterface
352
+     * @return \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
350 353
      */
351 354
     private function createSecurityContextMock()
352 355
     {
@@ -362,7 +365,7 @@  discard block
 block discarded – undo
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
     {
@@ -370,7 +373,7 @@  discard block
 block discarded – undo
370 373
     }
371 374
 
372 375
     /**
373
-     * @return \PHPUnit_Framework_MockObject_MockObject|HttpUtils
376
+     * @return HttpUtils
374 377
      */
375 378
     private function createHttpUtilsMock()
376 379
     {
@@ -378,8 +381,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.