Formatting fixes and cleanup.
This commit is contained in:
parent
a1e14a3e60
commit
51fb71e469
41 changed files with 394 additions and 392 deletions
|
|
@ -59,7 +59,7 @@ class Card extends Model
|
|||
return "Somebody";
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Who, Where or What this card belongs to.
|
||||
*/
|
||||
public function getSubjectTypeAttribute()
|
||||
|
|
@ -91,7 +91,7 @@ class Card extends Model
|
|||
->inRandomOrder();
|
||||
|
||||
// Run through all settings and apply filter.
|
||||
foreach($settings->all() as $type => $values) {
|
||||
foreach ($settings->all() as $type => $values) {
|
||||
|
||||
$column = $type_map[$type];
|
||||
|
||||
|
|
|
|||
|
|
@ -29,14 +29,14 @@ class Setting extends Model
|
|||
];
|
||||
|
||||
/**
|
||||
* Get the prunable model query.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Builder
|
||||
*/
|
||||
public function prunable()
|
||||
{
|
||||
return static::where('created_at', '<', now()->subDay(1));
|
||||
}
|
||||
* Get the prunable model query.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Builder
|
||||
*/
|
||||
public function prunable()
|
||||
{
|
||||
return static::where('created_at', '<', now()->subDay(1));
|
||||
}
|
||||
|
||||
public function getHashAttribute()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,19 +4,19 @@ namespace App\Models;
|
|||
|
||||
class Wow
|
||||
{
|
||||
/**
|
||||
* Enum for classes.
|
||||
*/
|
||||
static public $classes = [
|
||||
'warrior' => 'Warrior',
|
||||
'rogue' => 'Rogue',
|
||||
'paladin' => 'Paladin',
|
||||
'hunter' => 'Hunter',
|
||||
'mage' => 'Mage',
|
||||
'warlock' => 'Warlock',
|
||||
'shaman' => 'Shaman',
|
||||
'druid' => 'Druid',
|
||||
'priest' => 'Priest',
|
||||
'dk' => 'Death Knight'
|
||||
];
|
||||
/**
|
||||
* Enum for classes.
|
||||
*/
|
||||
static public $classes = [
|
||||
'warrior' => 'Warrior',
|
||||
'rogue' => 'Rogue',
|
||||
'paladin' => 'Paladin',
|
||||
'hunter' => 'Hunter',
|
||||
'mage' => 'Mage',
|
||||
'warlock' => 'Warlock',
|
||||
'shaman' => 'Shaman',
|
||||
'druid' => 'Druid',
|
||||
'priest' => 'Priest',
|
||||
'dk' => 'Death Knight'
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue