more and more checkstyle fixes

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-24 12:59:40 +01:00
parent 585d42f1b8
commit 35c631946d
48 changed files with 298 additions and 327 deletions

View File

@@ -7,7 +7,7 @@ use Froxlor\Settings;
class Dns
{
public static function getAllowedDomainEntry($domain_id, $area = 'customer', $userinfo)
public static function getAllowedDomainEntry($domain_id, $area = 'customer', $userinfo = array())
{
$dom_data = array(
'did' => $domain_id
@@ -321,7 +321,7 @@ class Dns
return $zone;
}
private static function addRequiredEntry($record = '@', $type = 'A', &$required)
private static function addRequiredEntry($record = '@', $type = 'A', &$required = array())
{
if (! isset($required[$type])) {
$required[$type] = array();