mvc: style update

This commit is contained in:
Franco Fichtner 2020-03-31 10:36:01 +02:00
parent 7d118218c6
commit afec5341ec
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class AliasController extends ApiMutableModelControllerBase
$type = $this->request->get('type');
$filter_funct = null;
if (!empty($type)) {
$filter_funct = function($record) use ($type) {
$filter_funct = function ($record) use ($type) {
return in_array($record->type, $type);
};
}

View File

@ -197,6 +197,6 @@ class ServiceController extends ApiControllerBase
}
}
}
return $result ;
return $result;
}
}