Passed
Branch master (88b79b)
by Liaw
08:08 queued 03:02
created
src/LightSaml/Model/Protocol/AuthnRequest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     protected $subject;
57 57
 
58 58
     /**
59
-     * @param Subject|null $subject
59
+     * @param Subject $subject
60 60
      *
61 61
      * @return AuthnRequest
62 62
      */
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @param NameIDPolicy|null $nameIDPolicy
119
+     * @param NameIDPolicy $nameIDPolicy
120 120
      *
121 121
      * @return AuthnRequest
122 122
      */
Please login to merge, or discard this patch.
src/LightSaml/Model/Protocol/LogoutRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @param int|\DateTime|string $notOnOrAfter
55
+     * @param \DateTime $notOnOrAfter
56 56
      *
57 57
      * @return LogoutRequest
58 58
      */
Please login to merge, or discard this patch.
src/LightSaml/Model/Protocol/NameIDPolicy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param string|bool|null $allowCreate
47
+     * @param boolean $allowCreate
48 48
      *
49 49
      * @return NameIDPolicy
50 50
      */
Please login to merge, or discard this patch.
src/LightSaml/Model/Protocol/SamlMessage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
     }
225 225
 
226 226
     /**
227
-     * @return \LightSaml\Model\Assertion\NameID|null
227
+     * @return Issuer|null
228 228
      */
229 229
     public function getIssuer()
230 230
     {
Please login to merge, or discard this patch.
src/LightSaml/Model/Protocol/StatusCode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     }
50 50
 
51 51
     /**
52
-     * @param StatusCode|null $statusCode
52
+     * @param StatusCode $statusCode
53 53
      *
54 54
      * @return StatusCode
55 55
      */
Please login to merge, or discard this patch.
src/LightSaml/Model/XmlDSig/SignatureXmlReader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @return \string[]
40
+     * @return string[]
41 41
      */
42 42
     public function getAllCertificates()
43 43
     {
Please login to merge, or discard this patch.
src/LightSaml/State/Request/RequestState.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param string $id
26
-     * @param mixed  $nonce
26
+     * @param string  $nonce
27 27
      */
28 28
     public function __construct($id = null, $nonce = null)
29 29
     {
Please login to merge, or discard this patch.
src/LightSaml/State/Sso/SsoState.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * @deprecated Since 1.2, to be removed in 2.0. Use getParameters() instead
72 72
      *
73 73
      * @param string $name
74
-     * @param mixed  $value
74
+     * @param integer  $value
75 75
      *
76 76
      * @return SsoState
77 77
      */
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @param $idpEntityId
148
-     * @param $spEntityId
147
+     * @param string|null $idpEntityId
148
+     * @param string|null $spEntityId
149 149
      * @param $nameId
150 150
      * @param $nameIdFormat
151 151
      * @param $sessionIndex
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Action/ActionLogWrapperTest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @return \PHPUnit_Framework_MockObject_MockObject|ActionInterface
41
+     * @return \PHPUnit\Framework\MockObject\MockObject
42 42
      */
43 43
     private function getActionMock()
44 44
     {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Context\ContextInterface
49
+     * @return \PHPUnit\Framework\MockObject\MockObject
50 50
      */
51 51
     private function getContextMock()
52 52
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use LightSaml\Action\ActionInterface;
6 6
 use LightSaml\Action\ActionLogWrapper;
7 7
 use LightSaml\Tests\BaseTestCase;
8
-use Psr\Log\LoggerInterface;
9 8
 
10 9
 class ActionLogWrapperTest extends BaseTestCase
11 10
 {
Please login to merge, or discard this patch.