mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
More php8 compat fixes
This commit is contained in:
@@ -150,7 +150,7 @@ class Date_Span
|
||||
* @see set()
|
||||
* @access public
|
||||
*/
|
||||
function Date_Span($time = 0, $format = null)
|
||||
function __construct($time = 0, $format = null)
|
||||
{
|
||||
$this->set($time, $format);
|
||||
}
|
||||
@@ -1080,4 +1080,4 @@ class Date_Span
|
||||
* c-hanging-comment-ender-p: nil
|
||||
* End:
|
||||
*/
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -133,7 +133,7 @@ class Date_TimeZone
|
||||
* @param string $id the time zone id
|
||||
* @return object Date_TimeZone the new Date_TimeZone object
|
||||
*/
|
||||
function Date_TimeZone($id)
|
||||
function __construct($id)
|
||||
{
|
||||
$_DATE_TIMEZONE_DATA =& $GLOBALS['_DATE_TIMEZONE_DATA'];
|
||||
if(Date_TimeZone::isValidID($id)) {
|
||||
@@ -4728,4 +4728,4 @@ if(isset($GLOBALS['_DATE_TIMEZONE_DEFAULT'])
|
||||
* c-hanging-comment-ender-p: nil
|
||||
* End:
|
||||
*/
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user