| @@ -1,8 +1,8 @@ | ||
| 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 [ | 
| @@ -13,7 +13,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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 | */ | 
| @@ -5,8 +5,8 @@ | ||
| 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 |  { | 
| @@ -2,8 +2,8 @@ | ||
| 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 |  { | 
| @@ -2,8 +2,6 @@ | ||
| 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 | /** | 
| @@ -4,8 +4,8 @@ | ||
| 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 |  { | 
| @@ -39,7 +39,6 @@ | ||
| 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) | 
| @@ -2,11 +2,11 @@ | ||
| 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 | 
| @@ -2,11 +2,10 @@ | ||
| 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 |  { | 
| @@ -4,12 +4,8 @@ | ||
| 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. | 
| @@ -17,7 +17,6 @@ | ||
| 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) | 
| @@ -2,8 +2,8 @@ | ||
| 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 |  { |