Completed
Push — master ( 80937c...137639 )
by Paul
08:49
created
U2F.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.