Apply fixes from StyleCI

This commit is contained in:
Nabeel Shahzad
2018-08-26 16:40:04 +00:00
committed by StyleCI Bot
parent 20f46adbc4
commit 9596d88b48
407 changed files with 4032 additions and 3286 deletions

View File

@@ -7,7 +7,6 @@ use Illuminate\Queue\SerializesModels;
/**
* This event is dispatched when the hourly cron is run
* @package App\Events
*/
class CronHourly
{
@@ -18,6 +17,5 @@ class CronHourly
*/
public function __construct()
{
}
}

View File

@@ -8,7 +8,6 @@ use Illuminate\Queue\SerializesModels;
/**
* This event is dispatched when the monthly cron is run
* It happens after all of the default nightly tasks
* @package App\Events
*/
class CronMonthly
{
@@ -19,6 +18,5 @@ class CronMonthly
*/
public function __construct()
{
}
}

View File

@@ -8,7 +8,6 @@ use Illuminate\Queue\SerializesModels;
/**
* This event is dispatched when the daily cron is run
* It happens after all of the default nightly tasks
* @package App\Events
*/
class CronNightly
{
@@ -19,6 +18,5 @@ class CronNightly
*/
public function __construct()
{
}
}

View File

@@ -8,7 +8,6 @@ use Illuminate\Queue\SerializesModels;
/**
* This event is dispatched when the weekly cron is run
* It happens after all of the default nightly tasks
* @package App\Events
*/
class CronWeekly
{
@@ -19,6 +18,5 @@ class CronWeekly
*/
public function __construct()
{
}
}

View File

@@ -26,8 +26,6 @@ use Illuminate\Queue\SerializesModels;
* will filter out expenses that only apply to the current process
*
* The event will have a copy of the PIREP model, if it's applicable
*
* @package App\Events
*/
class Expenses
{

View File

@@ -9,7 +9,6 @@ use Illuminate\Queue\SerializesModels;
/**
* Class PirepAccepted
* @package App\Events
*/
class PirepAccepted
{
@@ -19,6 +18,7 @@ class PirepAccepted
/**
* PirepAccepted constructor.
*
* @param Pirep $pirep
*/
public function __construct(Pirep $pirep)

View File

@@ -9,7 +9,6 @@ use Illuminate\Queue\SerializesModels;
/**
* Class PirepRejected
* @package App\Events
*/
class PirepRejected
{
@@ -19,6 +18,7 @@ class PirepRejected
/**
* PirepRejected constructor.
*
* @param Pirep $pirep
*/
public function __construct(Pirep $pirep)

View File

@@ -9,7 +9,6 @@ use Illuminate\Queue\SerializesModels;
/**
* Class TestEvent
* @package App\Events
*/
class TestEvent
{
@@ -19,6 +18,7 @@ class TestEvent
/**
* Create a new event instance.
*
* @param User $user
*/
public function __construct(User $user)

View File

@@ -9,7 +9,6 @@ use Illuminate\Queue\SerializesModels;
/**
* Class UserAccepted
* @package App\Events
*/
class UserAccepted
{
@@ -19,6 +18,7 @@ class UserAccepted
/**
* UserAccepted constructor.
*
* @param User $user
*/
public function __construct(User $user)

View File

@@ -9,7 +9,6 @@ use Illuminate\Queue\SerializesModels;
/**
* Class UserRegistered
* @package App\Events
*/
class UserRegistered
{
@@ -19,6 +18,7 @@ class UserRegistered
/**
* UserRegistered constructor.
*
* @param User $user
*/
public function __construct(User $user)

View File

@@ -9,16 +9,17 @@ use Illuminate\Queue\SerializesModels;
/**
* Event triggered when a user's state changes
* @package App\Events
*/
class UserStateChanged
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $old_state, $user;
public $old_state;
public $user;
/**
* UserStateChanged constructor.
*
* @param User $user
* @param $old_state
*/

View File

@@ -9,15 +9,14 @@ use Illuminate\Queue\SerializesModels;
/**
* Class UserStatsChanged
* @package App\Events
*/
class UserStatsChanged
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $stat_name,
$old_value,
$user;
public $stat_name;
public $old_value;
public $user;
/*
* When a user's stats change. Stats changed match the field name: