Completed
Push — master ( e5acfe...6f9b0c )
by claudio
07:02
created
app/Console/Commands/Optimise/Optimise.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 namespace plunner\Console\Commands\Optimise;
10 10
 
11 11
 use Illuminate\Console\Scheduling\Schedule;
12
-use plunner\company;
13 12
 use plunner\Events\Optimise\ErrorEvent;
13
+use plunner\company;
14 14
 
15 15
 /**
16 16
  * Class Optimise
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -291,8 +291,9 @@  discard block
 block discarded – undo
291 291
 
292 292
     /**
293 293
      * @param \Illuminate\Support\Collection $timeSlots
294
-     * @param bool|true $free if true the array is filled with 1 for timeslots values else with 0 for timeslots values
295
-     * @return array
294
+     * @param boolean $free if true the array is filled with 1 for timeslots values else with 0 for timeslots values
295
+     * @param string[] $ids
296
+     * @return string[]
296 297
      */
297 298
     static private function getAvailabilityArray(\Illuminate\Support\Collection $timeSlots, $timeslotsN, $ids, $free = true)
298 299
     {
@@ -393,10 +394,10 @@  discard block
 block discarded – undo
393 394
     }
394 395
 
395 396
     /**
396
-     * @param array $users
397
-     * @param array $meetings
397
+     * @param string[] $users
398
+     * @param string[] $meetings
398 399
      * @param \Illuminate\Support\Collection $usersMeetings
399
-     * @return array
400
+     * @return string[]
400 401
      */
401 402
     static private function getUsersMeetingsArray($users, $meetings, \Illuminate\Support\Collection $usersMeetings)
402 403
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/Planners/MeetingTimeslotsController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace plunner\Http\Controllers\Employees\Planners;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use Illuminate\Support\Facades\Response;
7 6
 use plunner\Group;
8 7
 use plunner\Http\Controllers\Controller;
9
-use plunner\Http\Requests;
10 8
 use plunner\Http\Requests\Employees\Meeting\MeetingTimeslotRequest;
11 9
 use plunner\Meeting;
12 10
 use plunner\MeetingTimeslot;
Please login to merge, or discard this patch.
app/Console/Commands/Optimise/Solver.php 1 patch
Doc Comments   +9 added lines, -7 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @return \string[]
146
+     * @return string[]
147 147
      */
148 148
     public function getUsers()
149 149
     {
@@ -255,6 +255,8 @@  discard block
 block discarded – undo
255 255
      * implementation of arraypad that doesn't change original keys<br/>
256 256
      * <strong>CAUTION: Only positive $len</strong>
257 257
      * @param array $array
258
+     * @param integer $len
259
+     * @param integer $pad
258 260
      * @return array
259 261
      */
260 262
     static private function arrayPad(array $array, $len, $pad)
@@ -393,7 +395,7 @@  discard block
 block discarded – undo
393 395
     }
394 396
 
395 397
     /**
396
-     * @param $proprieties
398
+     * @param string[] $proprieties
397 399
      * @throws OptimiseException
398 400
      */
399 401
     private function checkArrayProprieties($proprieties)
@@ -404,7 +406,7 @@  discard block
 block discarded – undo
404 406
     }
405 407
 
406 408
     /**
407
-     * @param $proprieties
409
+     * @param string[] $proprieties
408 410
      * @throws OptimiseException
409 411
      */
410 412
     private function checkIntProprieties($proprieties)
@@ -424,7 +426,7 @@  discard block
 block discarded – undo
424 426
 
425 427
     /**
426 428
      * @param string $file
427
-     * @param array $data
429
+     * @param string[] $data
428 430
      * @throws OptimiseException
429 431
      */
430 432
     static private function writeCSVArrayNoKey($file, $data)
@@ -441,7 +443,7 @@  discard block
 block discarded – undo
441 443
     /**
442 444
      * @param string $file
443 445
      * @param array $data
444
-     * @param array $heading
446
+     * @param string[] $heading
445 447
      * @param \Closure $writer
446 448
      * @throws OptimiseException
447 449
      */
@@ -478,7 +480,7 @@  discard block
 block discarded – undo
478 480
 
479 481
     /**
480 482
      * @param string $file
481
-     * @param array $data
483
+     * @param string[] $data
482 484
      * @param string $name
483 485
      * @throws OptimiseException
484 486
      */
@@ -503,7 +505,7 @@  discard block
 block discarded – undo
503 505
 
504 506
     /**
505 507
      * @param string $file
506
-     * @param array $data
508
+     * @param string[] $data
507 509
      * @param string $name
508 510
      * @throws OptimiseException
509 511
      */
Please login to merge, or discard this patch.
app/Http/Controllers/Companies/Auth/AuthController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 namespace plunner\Http\Controllers\Companies\Auth;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use plunner\Company;
7
-use plunner\Http\Controllers\Controller;
8 6
 use Tymon\JWTAuth\Support\auth\AuthenticatesAndRegistersUsers;
9 7
 use Tymon\JWTAuth\Support\auth\ThrottlesLogins;
10 8
 use Validator;
9
+use plunner\Company;
10
+use plunner\Http\Controllers\Controller;
11 11
 
12 12
 /**
13 13
  * Class AuthController
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/Auth/AuthController.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,13 +3,12 @@
 block discarded – undo
3 3
 namespace plunner\Http\Controllers\Employees\Auth;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use Log;
7
-use plunner\Company;
8
-use plunner\employee;
9
-use plunner\Http\Controllers\Controller;
10 6
 use Tymon\JWTAuth\Support\auth\AuthenticatesAndRegistersUsers;
11 7
 use Tymon\JWTAuth\Support\auth\ThrottlesLogins;
12 8
 use Validator;
9
+use plunner\Company;
10
+use plunner\Http\Controllers\Controller;
11
+use plunner\employee;
13 12
 
14 13
 /**
15 14
  * Class AuthController
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/Auth/PasswordController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace plunner\Http\Controllers\Employees\Auth;
4 4
 
5 5
 use Illuminate\Http\Request;
6
+use Tymon\JWTAuth\Support\auth\ResetsPasswords;
6 7
 use plunner\Company;
7 8
 use plunner\Http\Controllers\Controller;
8
-use Tymon\JWTAuth\Support\auth\ResetsPasswords;
9 9
 
10 10
 /**
11 11
  * Class PasswordController
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/Planners/MeetingsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 
7
-use plunner\Http\Requests;
8 7
 use plunner\Http\Controllers\Controller;
9 8
 
10 9
 class GroupsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/Meetings/MeetingsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 
7
-use plunner\Http\Requests;
8 7
 use plunner\Http\Controllers\Controller;
9 8
 
10 9
 class GroupsController extends Controller
Please login to merge, or discard this patch.