mirror of
https://github.com/flarum/core.git
synced 2025-07-19 15:51:16 +02:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
committed by
StyleCI Bot
parent
ef44ff5603
commit
6dc362f760
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user