Skip to content

Commit 6aea609

Browse files
author
alexnas
committed
https://github.com/leirn/php.syslog.class/blob/master/syslog.class.php
305 - public function Net_Syslog($hostname = "", $appname = NET_SYSLOG_NILVALUE, + public function __construct($hostname = "", $appname = NET_SYSLOG_NILVALUE, PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Net_Syslog has a deprecated constructor in php.syslog.class-master/syslog.class.php on line 218
1 parent 0e48e28 commit 6aea609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syslog.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ class Net_Syslog
302302
* @access public
303303
* @see Net_Syslog
304304
*/
305-
public function Net_Syslog($hostname = "", $appname = NET_SYSLOG_NILVALUE,
305+
public function __construct($hostname = "", $appname = NET_SYSLOG_NILVALUE,
306306
$protocol = NET_SYSLOG_UDP, $procid = NET_SYSLOG_NILVALUE
307307
) {
308308
$this->_rfc = NET_SYSLOG_RFC3164;

0 commit comments

Comments
 (0)