Completed
Push — master ( d38d2f...df865b )
by Ricardo
06:27
created
src/Traits/ModelHasTransmissor.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
     /**
38 38
      * Leave all transmissor
39 39
      *
40
-     * @param  integer $transmissorId
41 40
      * @param  integer $userId
42 41
      * @return void
43 42
      */
Please login to merge, or discard this patch.
src/Traits/TopicApiHelper.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Transmissor\Traits;
4 4
 
5
-use Carbon\Carbon;
6
-use Transmissor\Models\Category;
7 5
 use App\Models\User;
6
+use Transmissor\Models\Category;
8 7
 
9 8
 // Para ser compatível com a API
10 9
 // {{url}}/topics?include=node,last_reply_user,user&filter=jobs&per_page=15&page=1
Please login to merge, or discard this patch.
src/Traits/TopicFilterable.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\Traits;
4 4
 
5
-use Carbon\Carbon;
6 5
 use Auth;
6
+use Carbon\Carbon;
7 7
 
8 8
 trait TopicFilterable
9 9
 {
Please login to merge, or discard this patch.
src/Traits/TopicImageHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Transmissor\Traits;
4 4
 
5
-use App\Models\User;
6 5
 use App\Models\Image;
7 6
 
8 7
 trait TopicImageHelper
Please login to merge, or discard this patch.
src/Traits/UserActivityHelper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
         return array_merge(['u' . $this->id], $followings, $subscribed_blogs);
37 37
     }
38 38
 
39
+    /**
40
+     * @param string[] $causers
41
+     */
39 42
     public function activitiesByCausers($causers)
40 43
     {
41 44
         return Activity::whereIn('causer', $causers)
Please login to merge, or discard this patch.
src/TransmissorProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     /**
148 148
      * Get the services provided by the provider.
149 149
      *
150
-     * @return array
150
+     * @return string[]
151 151
      */
152 152
     public function provides()
153 153
     {
Please login to merge, or discard this patch.
Unused Use Statements   -8 removed lines patch added patch discarded remove patch
@@ -2,21 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Transmissor;
4 4
 
5
-use App;
6 5
 use Config;
7
-use Illuminate\Contracts\Events\Dispatcher;
8
-use Illuminate\Foundation\AliasLoader;
9
-use Illuminate\Routing\Router;
10 6
 
11
-use Illuminate\Support\Collection;
12 7
 use Illuminate\Support\Facades\View;
13 8
 use Illuminate\Support\ServiceProvider;
14 9
 use Log;
15 10
 use Muleta\Traits\Providers\ConsoleTools;
16 11
 
17
-use Route;
18
-
19
-use Transmissor\Facades\Transmissor as TransmissorFacade;
20 12
 use Transmissor\Services\TransmissorService;
21 13
 
22 14
 class TransmissorProvider extends ServiceProvider
Please login to merge, or discard this patch.