fix some more checkstyle issues

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-24 13:21:35 +01:00
parent 35c631946d
commit 30f5902b88
16 changed files with 74 additions and 61 deletions

View File

@@ -337,10 +337,10 @@ class User
*
* @return void
*/
private static function initArrField($field = null, &$arr, $init_value = 0)
private static function initArrField($field = null, &$arr = array(), $init_value = 0)
{
if (! isset($arr[$field])) {
$arr[$field] = $init_value;
}
}
}
}