1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 07:41:22 +02:00

Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
Franz Liedke
2020-04-24 13:10:36 +00:00
committed by StyleCI Bot
parent ef44ff5603
commit 6dc362f760

View File

@@ -119,8 +119,7 @@ class Model implements ExtenderInterface
$relatedPivotKey = null,
$parentKey = null,
$relatedKey = null
)
{
) {
return $this->relationship($name, function (AbstractModel $model) use ($related, $table, $foreignPivotKey, $relatedPivotKey, $parentKey, $relatedKey, $name) {
return $model->belongsToMany($related, $table, $foreignPivotKey, $relatedPivotKey, $parentKey, $relatedKey, $name);
});