mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
fire -> dispatch
As per Illuminate\Contracts\Events\Dispatcher
This commit is contained in:
@@ -70,7 +70,7 @@ abstract class AbstractSerializer extends BaseAbstractSerializer
|
||||
|
||||
$attributes = $this->getDefaultAttributes($model);
|
||||
|
||||
static::$dispatcher->fire(
|
||||
static::$dispatcher->dispatch(
|
||||
new Serializing($this, $model, $attributes)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user