Firewall/Util, missing static in isPort()

This commit is contained in:
Ad Schellevis 2018-06-01 22:05:51 +02:00
parent ac1e8f17af
commit a72ea4616d

View File

@ -124,7 +124,7 @@ class Util
* @param boolean $allow_range ranges allowed
* @return boolean
*/
public function isPort($number, $allow_range = true)
public static function isPort($number, $allow_range = true)
{
$tmp = explode(':', $number);
foreach ($tmp as $port) {