@@ -37,7 +37,6 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Leave all transmissor |
| 39 | 39 | * |
| 40 | - * @param integer $transmissorId |
|
| 41 | 40 | * @param integer $userId |
| 42 | 41 | * @return void |
| 43 | 42 | */ |
@@ -2,9 +2,8 @@ |
||
| 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 |
@@ -2,8 +2,8 @@ |
||
| 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 | { |
@@ -2,7 +2,6 @@ |
||
| 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 |
@@ -36,6 +36,9 @@ |
||
| 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) |
@@ -147,7 +147,7 @@ |
||
| 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 | { |
@@ -2,21 +2,13 @@ |
||
| 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 |