Commit 6ca40bc4 authored by Franco Fichtner's avatar Franco Fichtner

mvc: new style checker has new style checks ;)

parent 9821d6fb
......@@ -314,7 +314,7 @@ class FilterRule
// set prio
if (isset($tmp['set-prio']) && $tmp['set-prio'] !== ""
&& isset($tmp['set-prio-low']) && $tmp['set-prio-low'] !== "" ) {
$tmp['set-prio'] = "({$tmp['set-prio']}, {$tmp['set-prio-low']})" ;
$tmp['set-prio'] = "({$tmp['set-prio']}, {$tmp['set-prio-low']})";
}
$result[] = $tmp;
}
......
......@@ -2,7 +2,6 @@
/**
* Copyright (C) 2017 Deciso B.V.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -92,7 +91,7 @@ class Util
* @param boolean $allow_range ranges allowed
* @return boolean
*/
public function isPort($number, $allow_range=true)
public function isPort($number, $allow_range = true)
{
$tmp = explode(':', $number);
foreach ($tmp as $port) {
......
......@@ -33,7 +33,6 @@ use Phalcon\Validation\Validator\InclusionIn;
use OPNsense\Base\Validators\CsvListValidator;
use OPNsense\Core\Config;
class AuthGroupField extends BaseField
{
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment