Completed
Push — master ( 3ba758...b5e37b )
by Liaw
02:27
created
tests/LightSaml/Tests/Action/CatchableErrorActionTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Action\ActionInterface
62
+     * @return ActionInterface
63 63
      */
64 64
     private function getActionMock()
65 65
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Context\ContextInterface
70
+     * @return ContextInterface
71 71
      */
72 72
     private function getContextMock()
73 73
     {
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/State/Sso/SsoStateTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -242,8 +242,8 @@
 block discarded – undo
242 242
     }
243 243
 
244 244
     /**
245
-     * @param array $arrIdp
246
-     * @param array $arrSp
245
+     * @param string[] $arrIdp
246
+     * @param string[] $arrSp
247 247
      *
248 248
      * @return SsoState
249 249
      */
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Store/TrustOptions/CompositeTrustOptionsStoreTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @return \PHPUnit_Framework_MockObject_MockObject|TrustOptionsStoreInterface
112
+     * @return TrustOptionsStoreInterface
113 113
      */
114 114
     private function getTrustOptionsStoreMock()
115 115
     {
Please login to merge, or discard this patch.
Tests/Functional/Model/Metadata/EntityDescriptorFunctionalTest.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -128,6 +128,9 @@  discard block
 block discarded – undo
128 128
         EntityDescriptor::load(__DIR__.'/../../../../../../resources/sample/EntitiesDescriptor/testshib-providers.xml');
129 129
     }
130 130
 
131
+    /**
132
+     * @param string $certificate
133
+     */
131 134
     private function checkKD(SSODescriptor $descriptor, $use, $certificate)
132 135
     {
133 136
         $arrKD = $descriptor->getAllKeyDescriptorsByUse($use);
@@ -139,6 +142,9 @@  discard block
 block discarded – undo
139 142
         $this->assertEquals($certificate, $kd->getCertificate()->getData());
140 143
     }
141 144
 
145
+    /**
146
+     * @param string $location
147
+     */
142 148
     private function checkSLO(SSODescriptor $descriptor, $binding, $location)
143 149
     {
144 150
         $arr = $descriptor->getAllSingleLogoutServicesByBinding($binding);
@@ -149,6 +155,11 @@  discard block
 block discarded – undo
149 155
         $this->assertEquals($location, $svc->getLocation());
150 156
     }
151 157
 
158
+    /**
159
+     * @param string $location
160
+     * @param string $index
161
+     * @param boolean $isDefault
162
+     */
152 163
     private function checkACS(SpSsoDescriptor $sp, $binding, $location, $index, $isDefault)
153 164
     {
154 165
         $arr = $sp->getAllAssertionConsumerServicesByBinding($binding);
@@ -161,6 +172,9 @@  discard block
 block discarded – undo
161 172
         $this->assertEquals($isDefault, $svc->getIsDefaultBool());
162 173
     }
163 174
 
175
+    /**
176
+     * @param string $location
177
+     */
164 178
     private function checkSSO(IdpSsoDescriptor $idp, $binding, $location)
165 179
     {
166 180
         $arr = $idp->getAllSingleSignOnServicesByBinding($binding);
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Action/ActionLogWrapperTest.php 1 patch
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 ActionInterface
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 \LightSaml\Context\ContextInterface
50 50
      */
51 51
     private function getContextMock()
52 52
     {
Please login to merge, or discard this patch.
Tests/Action/Profile/Inbound/Message/IssuerValidatorActionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     }
98 98
 
99 99
     /**
100
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Validator\Model\NameId\NameIdValidatorInterface
100
+     * @return NameIdValidatorInterface
101 101
      */
102 102
     public function getNameIdValidatorMock()
103 103
     {
Please login to merge, or discard this patch.
Tests/Action/Profile/Inbound/Message/ResolvePartyEntityIdActionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
     }
194 194
 
195 195
     /**
196
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Store\TrustOptions\TrustOptionsStoreInterface
196
+     * @return TrustOptionsStoreInterface
197 197
      */
198 198
     private function getTrustOptionsStore()
199 199
     {
Please login to merge, or discard this patch.