1
0
mirror of https://github.com/flarum/core.git synced 2025-10-14 16:34:26 +02:00

Apply fixes from StyleCI (#1793)

[ci skip] [skip ci]
This commit is contained in:
Franz Liedke
2019-06-12 23:50:21 +02:00
committed by GitHub
parent 5e1680c458
commit 7f5bd1e96b
6 changed files with 12 additions and 12 deletions

View File

@@ -55,13 +55,13 @@ abstract class AbstractModel extends Eloquent
{
parent::boot();
static::saved(function (AbstractModel $model) {
static::saved(function (self $model) {
foreach ($model->releaseAfterSaveCallbacks() as $callback) {
$callback($model);
}
});
static::deleted(function (AbstractModel $model) {
static::deleted(function (self $model) {
foreach ($model->releaseAfterDeleteCallbacks() as $callback) {
$callback($model);
}