mirror of
https://github.com/grocy/grocy.git
synced 2025-08-14 17:54:40 +00:00
Upgraded PHP-CS-Fixer / applied optimized rules
This commit is contained in:
@@ -51,7 +51,8 @@ class UsersController extends BaseController
|
||||
public function UserSettings(Request $request, Response $response, array $args)
|
||||
{
|
||||
return $this->renderPage($response, 'usersettings', [
|
||||
'languages' => array_filter(scandir(__DIR__ . '/../localization'), function ($item) {
|
||||
'languages' => array_filter(scandir(__DIR__ . '/../localization'), function ($item)
|
||||
{
|
||||
if ($item == '.' || $item == '..')
|
||||
{
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user