Completed
Push — feature/disable-clockwork ( b48bf7 )
by Arthur
11:11 queued 07:04
created
app/Helpers/UserImage.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
 
13 13
     }
14 14
 
15
+    /**
16
+     * @param string $userId
17
+     */
15 18
     public function uploadPhoto($userId, $filePath, $newImage = false)
16 19
     {
17 20
         $tmpFilePath = storage_path('app') . '/' . $userId . '.png';
@@ -46,7 +49,7 @@  discard block
 block discarded – undo
46 49
 
47 50
     /**
48 51
      * Delete an old profile image and replace it with a new one.
49
-     * @param $userId
52
+     * @param string $userId
50 53
      */
51 54
     public function approveNewImage($userId)
52 55
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php namespace BB\Helpers;
2 2
 
3
-use BB\Exceptions\UserImageFailedException;
4 3
 use Illuminate\Support\Facades\Storage;
5 4
 use Intervention\Image\Facades\Image;
6 5
 
Please login to merge, or discard this patch.
app/Http/Controllers/InductionController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace BB\Http\Controllers;
2 2
 
3 3
 use BB\Entities\Induction;
4
-use BB\Exceptions\PaymentException;
5 4
 use BB\Repo\PaymentRepository;
6 5
 
7 6
 class InductionController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/MembersController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function index()
34 34
     {
35
-        $users = $this->userRepository->getActivePublicList(!\Auth::guest());
35
+        $users = $this->userRepository->getActivePublicList( ! \Auth::guest());
36 36
         return \View::make('members.index')->withUsers($users);
37 37
     }
38 38
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             return \Response::make('', 404);
45 45
         }
46 46
 
47
-        if (!$user->active) {
47
+        if ( ! $user->active) {
48 48
             return \Response::make('', 404);
49 49
         }
50 50
 
Please login to merge, or discard this patch.
app/Repo/InductionRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param $deviceId
36
+     * @param string $deviceId
37 37
      * @return array
38 38
      */
39 39
     public function getTrainersForEquipment($deviceId)
Please login to merge, or discard this patch.