mirror of
https://github.com/flarum/core.git
synced 2025-08-07 00:47:00 +02:00
Apply fixes from StyleCI
This commit is contained in:
@@ -29,7 +29,7 @@ return [
|
|||||||
(new Extend\Model(Post::class))
|
(new Extend\Model(Post::class))
|
||||||
->belongsToMany('likes', User::class, 'post_likes', 'post_id', 'user_id'),
|
->belongsToMany('likes', User::class, 'post_likes', 'post_id', 'user_id'),
|
||||||
|
|
||||||
new Extend\Locales(__DIR__ . '/locale'),
|
new Extend\Locales(__DIR__.'/locale'),
|
||||||
|
|
||||||
function (Dispatcher $events) {
|
function (Dispatcher $events) {
|
||||||
$events->subscribe(Listener\AddPostLikesRelationship::class);
|
$events->subscribe(Listener\AddPostLikesRelationship::class);
|
||||||
|
Reference in New Issue
Block a user