diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/InstituteMember.class.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/InstituteMember.class.php')
| -rw-r--r-- | lib/models/InstituteMember.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/InstituteMember.class.php b/lib/models/InstituteMember.class.php index a501c61..7ab3154 100644 --- a/lib/models/InstituteMember.class.php +++ b/lib/models/InstituteMember.class.php @@ -51,7 +51,7 @@ class InstituteMember extends SimpleORMap implements PrivacyObject $config['has_many']['datafields'] = [ 'class_name' => DatafieldEntryModel::class, 'assoc_foreign_key' => - function($model, $params) { + function ($model, $params) { $model->setValue('range_id', $params[0]->user_id); $model->setValue('sec_range_id', $params[0]->institut_id); }, @@ -59,7 +59,7 @@ class InstituteMember extends SimpleORMap implements PrivacyObject 'on_delete' => 'delete', 'on_store' => 'store', 'foreign_key' => - function($institute_member) { + function ($institute_member) { return [$institute_member]; } ]; |
