@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | { |
157 | 157 | $sigs = array(); |
158 | 158 | foreach ($registrations as $reg) { |
159 | - if (! ($reg instanceof Registration)) { |
|
159 | + if (!($reg instanceof Registration)) { |
|
160 | 160 | throw new \InvalidArgumentException('$registrations of getAuthenticateData() method only accepts array of object.'); |
161 | 161 | } |
162 | 162 | $sigs[] = new SignRequest($this->createChallenge(), $reg->keyHandle, $this->appId); |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | * @var SignRequest $req |
177 | 177 | */ |
178 | 178 | foreach ($requests as $req) { |
179 | - if (! ($req instanceof SignRequest)) { |
|
179 | + if (!($req instanceof SignRequest)) { |
|
180 | 180 | throw new \InvalidArgumentException('$requests of doAuthenticate() method only accepts array of SignRequest.'); |
181 | 181 | } |
182 | 182 |