Add blank line to EOL. No trailing spaces.
This commit is contained in:
@@ -37,4 +37,4 @@ class Component extends Eloquent implements \Dingo\Api\Transformer\Transformable
|
||||
public function getTransformer() {
|
||||
return new CachetHQ\Cachet\Transformers\ComponentTransformer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
use Watson\Validating\ValidatingTrait;
|
||||
|
||||
class Incident extends Eloquent implements \Dingo\Api\Transformer\TransformableInterface {
|
||||
|
||||
|
||||
use ValidatingTrait;
|
||||
use Illuminate\Database\Eloquent\SoftDeletingTrait;
|
||||
|
||||
@@ -57,4 +57,4 @@ class Incident extends Eloquent implements \Dingo\Api\Transformer\TransformableI
|
||||
public function getTransformer() {
|
||||
return new CachetHQ\Cachet\Transformers\IncidentTransformer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,4 +18,4 @@ class IncidentTemplate extends Eloquent {
|
||||
$template->slug = Str::slug($template->name);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,4 +29,4 @@ class Metric extends Eloquent implements \Dingo\Api\Transformer\TransformableInt
|
||||
public function getTransformer() {
|
||||
return new CachetHQ\Cachet\Transformers\MetricTransformer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
class MetricPoint extends Eloquent {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,4 +18,4 @@ class Service extends Eloquent {
|
||||
public function setPropertiesAttribute($properties) {
|
||||
$this->attributes['properties'] = json_encode($properties);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,4 +39,4 @@ class Setting extends Eloquent {
|
||||
sprintf('Unknown setting %s', $setting)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,4 +12,4 @@ class Subscriber extends Eloquent {
|
||||
];
|
||||
|
||||
protected $fillable = ['email'];
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -23,4 +23,4 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
|
||||
*/
|
||||
protected $hidden = ['password', 'remember_token'];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,4 +114,4 @@ class WebHook extends Eloquent {
|
||||
|
||||
return $requestMethod;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ class WebHookResponse extends Eloquent {
|
||||
public function hook() {
|
||||
return $this->belongsTo('WebHook', 'id', 'hook_id');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user