mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
Firewall/Util, missing static in isPort()
This commit is contained in:
parent
ac1e8f17af
commit
a72ea4616d
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user