@@ -47,6 +47,6 @@ |
||
47 | 47 | */ |
48 | 48 | public static function allTypes() |
49 | 49 | { |
50 | - return [static::MALE, static::FEMALE]; |
|
50 | + return [ static::MALE, static::FEMALE ]; |
|
51 | 51 | } |
52 | 52 | } |
@@ -24,6 +24,6 @@ |
||
24 | 24 | */ |
25 | 25 | public function setSexAttribute($value) |
26 | 26 | { |
27 | - $this->attributes['sex'] = Sex::type($value); |
|
27 | + $this->attributes[ 'sex' ] = Sex::type($value); |
|
28 | 28 | } |
29 | 29 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | protected static function bootFreshCreatedAt() |
28 | 28 | { |
29 | - static::creating(function ($model) { |
|
29 | + static::creating(function($model) { |
|
30 | 30 | $model->setCreatedAt($model->freshTimestamp()); |
31 | 31 | }); |
32 | 32 | } |