Convert variable names to camel case

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 15:02:58 +01:00
committed by Jan Jakeš
parent f5da704106
commit 54549ff037
687 changed files with 15890 additions and 15887 deletions

View File

@@ -17,8 +17,8 @@ class UserFlags extends APIEndpoint {
'global' => AccessControl::ALL_ROLES_ACCESS,
];
public function __construct(UserFlagsController $user_flags) {
$this->user_flags = $user_flags;
public function __construct(UserFlagsController $userFlags) {
$this->userFlags = $userFlags;
}
public function set(array $flags = []) {
@@ -30,7 +30,7 @@ class UserFlags extends APIEndpoint {
]);
} else {
foreach ($flags as $name => $value) {
$this->user_flags->set($name, $value);
$this->userFlags->set($name, $value);
}
return $this->successResponse([]);
}