Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 0af1f480 authored by Luis Henrique Carneiro's avatar Luis Henrique Carneiro Committed by GitHub
Browse files

PHP8 fix

For PHP 8 the method with the same name of class is not consider as a constructor anymore.
parent 68ee17c2
No related merge requests found
...@@ -228,7 +228,7 @@ class Radius ...@@ -228,7 +228,7 @@ class Radius
* @param integer accounting port * @param integer accounting port
* @return NULL * @return NULL
*********************************************************************/ *********************************************************************/
public function Radius($ip_radius_server = '127.0.0.1', $shared_secret = '', $radius_suffix = '', $udp_timeout = 5, $authentication_port = 1812, $accounting_port = 1813) public function __construct($ip_radius_server = '127.0.0.1', $shared_secret = '', $radius_suffix = '', $udp_timeout = 5, $authentication_port = 1812, $accounting_port = 1813)
{ {
$this->_radius_packet_info[1] = 'Access-Request'; $this->_radius_packet_info[1] = 'Access-Request';
$this->_radius_packet_info[2] = 'Access-Accept'; $this->_radius_packet_info[2] = 'Access-Accept';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment