Completed
Push — master ( 63d559...0e0340 )
by Mahmoud
03:20
created
app/Containers/User/Actions/DeleteUserAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function run($userId = null)
23 23
     {
24
-        $userId = $userId ? : $this->call(GetAuthenticatedUserTask::class)->id;
24
+        $userId = $userId ?: $this->call(GetAuthenticatedUserTask::class)->id;
25 25
 
26 26
         $isDeleted = $this->call(DeleteUserTask::class, [$userId]);
27 27
 
Please login to merge, or discard this patch.