Completed
Push — master ( bb608b...237577 )
by Ricardo
03:36
created
database/factories/DebtFactory.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
+use Faker\Generator as Faker;
3 4
 use Transmissor\Models\Group;
4 5
 use Transmissor\Models\User;
5
-use Faker\Generator as Faker;
6 6
 
7 7
 $factory->define(Transmissor\Models\Debt::class, function (Faker $faker) {
8 8
     return [
Please login to merge, or discard this patch.
src/Cacheable/CacheableEloquent.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * Register an updated model event with the dispatcher.
15 15
      *
16
-     * @param \Closure|string $callback
16
+     * @param Closure $callback
17 17
      *
18 18
      * @return void
19 19
      */
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Register a created model event with the dispatcher.
24 24
      *
25
-     * @param \Closure|string $callback
25
+     * @param Closure $callback
26 26
      *
27 27
      * @return void
28 28
      */
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Register a deleted model event with the dispatcher.
33 33
      *
34
-     * @param \Closure|string $callback
34
+     * @param Closure $callback
35 35
      *
36 36
      * @return void
37 37
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 namespace Transmissor\Cacheable;
6 6
 
7 7
 use Closure;
8
-use Illuminate\Database\Eloquent\Model;
9 8
 use Illuminate\Database\Eloquent\Builder;
9
+use Illuminate\Database\Eloquent\Model;
10 10
 
11 11
 trait CacheableEloquent
12 12
 {
Please login to merge, or discard this patch.
src/Console/Commands/SendRemindersCommand.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Transmissor\Console\Commands;
4 4
 
5
-use Transmissor\Services\TransmissorService;
6 5
 use Illuminate\Console\Command;
6
+use Transmissor\Services\TransmissorService;
7 7
 
8 8
 class SendRemindersCommand extends Command
9 9
 {
Please login to merge, or discard this patch.
src/Http/Api/ChatController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Transmissor\Http\Api;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7 5
 class ChatController extends Controller
8 6
 {
9 7
     /**
Please login to merge, or discard this patch.
src/Http/Controllers/User/NotificationController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Auth;
6 6
 use Illuminate\Http\Request;
7
-use Transmissor\Services\NotificationService;
8 7
 use Transmissor\Http\Controllers\User\Controller;
8
+use Transmissor\Services\NotificationService;
9 9
 
10 10
 class NotificationController extends Controller
11 11
 {
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@
 block discarded – undo
39 39
     /**
40 40
      * Display the specified resource.
41 41
      *
42
-     * @param  int $id
43 42
      * @return \Illuminate\Http\Response
44 43
      */
45 44
     public function read($uuid)
Please login to merge, or discard this patch.
src/Http/Middleware/LoadUserMiddleware.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Transmissor\Http\Middleware;
4 4
 
5
-use Transmissor\Models\User;
6 5
 use BotMan\BotMan\BotMan;
7 6
 use BotMan\BotMan\Interfaces\Middleware\Received;
8 7
 use BotMan\BotMan\Messages\Incoming\IncomingMessage;
9 8
 use Illuminate\Support\Facades\Hash;
9
+use Transmissor\Models\User;
10 10
 use Transmissor\Services\UserService;
11 11
 
12 12
 class LoadUserMiddleware implements Received
Please login to merge, or discard this patch.
src/Models/Model.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Transmissor\Models;
4 4
 
5
-use Illuminate\Database\Eloquent\Model as EloquentModel;
6
-use Illuminate\Database\Eloquent\Builder;
7
-use Illuminate\Support\Facades\Hash;
8 5
 use App\Sitec\Business;
9 6
 use Auth;
7
+use Illuminate\Database\Eloquent\Builder;
8
+use Illuminate\Database\Eloquent\Model as EloquentModel;
10 9
 
11 10
 class Model extends EloquentModel
12 11
 {
Please login to merge, or discard this patch.
src/Models/Notification.php 1 patch
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,12 +4,8 @@
 block discarded – undo
4 4
 
5 5
 namespace Transmissor\Models;
6 6
 
7
-use App\Contants\Tables;
8
-use Illuminate\Database\Eloquent\Collection;
9 7
 use App\Models\Model;
10
-
11
-use Population\Manipule\Entities\NotificationEntity;
12
-use Population\Manipule\Builders\NotificationBuilder;
8
+use Illuminate\Database\Eloquent\Collection;
13 9
 
14 10
 /**
15 11
  * Class Notification.
Please login to merge, or discard this patch.
src/Notifications/GeneralNotification.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
     /**
18 18
      * Create a notification instance.
19 19
      *
20
-     * @param  string  $token
21 20
      * @return void
22 21
      */
23 22
     public function __construct($info)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Transmissor\Notifications;
4 4
 
5
-use Illuminate\Notifications\Notification;
6 5
 use Illuminate\Notifications\Messages\MailMessage;
6
+use Illuminate\Notifications\Notification;
7 7
 
8 8
 class GeneralNotification extends Notification
9 9
 {
Please login to merge, or discard this patch.