Passed
Push — master ( 4a87f3...1f59a8 )
by Jakub
04:45
created
app/Model/Job.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@
 block discarded – undo
265 265
     if($userId === null && !$this->user->isLoggedIn()) {
266 266
       throw new AuthenticationNeededException();
267 267
     }
268
-    if ($userId === null) {
268
+    if($userId === null) {
269 269
       $userId = $this->user->id;
270 270
     }
271 271
     $job = $this->orm->userJobs->getUserActiveJob($userId);
Please login to merge, or discard this patch.
app/Presenters/FrontModule/ProfilePresenter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
       $this->template->fiance = $this->model->getFiance($user->id);
52 52
       try {
53 53
         $job = $this->jobModel->getCurrentJob($user->id);
54
-      } catch (NotWorkingException $e) {
54
+      } catch(NotWorkingException $e) {
55 55
         $job = null;
56 56
       }
57 57
       $this->template->job = $job;
Please login to merge, or discard this patch.