Completed
Push — master ( 17a334...ed601b )
by Mahmoud
02:57
created
app/Port/Request/Traits/RequestTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         }
30 30
 
31 31
         // allow access if has permission set but is empty or null
32
-        if(!$this->access['permission']){
32
+        if (!$this->access['permission']) {
33 33
             return true;
34 34
         }
35 35
 
Please login to merge, or discard this patch.
app/Port/Test/PHPUnit/Traits/TestingTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         );
197 197
 
198 198
         // if permission property is defined than attach permission on the user
199
-        if(isset($this->permissions)){
199
+        if (isset($this->permissions)) {
200 200
             $user->givePermissionTo($this->permissions);
201 201
         }
202 202
 
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
      */
393 393
     public function overrideSubDomain($subDomain, $url = null)
394 394
     {
395
-        $url = ($url) ? : $this->baseUrl;
395
+        $url = ($url) ?: $this->baseUrl;
396 396
 
397 397
         $info = parse_url($url);
398 398
 
Please login to merge, or discard this patch.