1
0
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:
luceos
2020-06-20 01:42:16 +00:00
committed by StyleCI Bot
parent a9810ffb4c
commit b75d5c6670

View File

@@ -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);