mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
mvc: style update
This commit is contained in:
parent
7d118218c6
commit
afec5341ec
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
@ -197,6 +197,6 @@ class ServiceController extends ApiControllerBase
|
||||
}
|
||||
}
|
||||
}
|
||||
return $result ;
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user