Passed
Push — main ( 528610...f3fbc0 )
by ikechukwu
10:02 queued 15s
created
src/Services/PinService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         if ($response) {
128 128
             $requirePin = $this->getRequirePin($uuid);
129 129
 
130
-            if(!$requirePin) {
130
+            if (!$requirePin) {
131 131
                 return ['message' =>
132 132
                     trans('requirepin::pin.invalid_url')];
133 133
             }
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      */
167 167
     public function pinUrlHasValidUUID(string $uuid): ?array
168 168
     {
169
-        if(!$this->getRequirePin($uuid)) {
169
+        if (!$this->getRequirePin($uuid)) {
170 170
             return ['message' =>
171 171
                 trans('requirepin::pin.invalid_url')];
172 172
         }
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
             config('requirepin.input', '_pin') => null
453 453
         ]);
454 454
 
455
-        foreach($this->payload as $key => $item) {
455
+        foreach ($this->payload as $key => $item) {
456 456
             $request->merge([$key => $item]);
457 457
         }
458 458
     }
Please login to merge, or discard this patch.