2
0
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:
Adam Zammit
2023-04-26 16:28:14 +10:00
parent fb74ee3c65
commit 7e202234f3
24 changed files with 88 additions and 62 deletions

View File

@@ -196,7 +196,7 @@ class Date
* @param mixed $date optional - date/time to initialize
* @return object Date the new Date object
*/
function Date($date = null)
function __construct($date = null)
{
$this->tz = Date_TimeZone::getDefault();
if (is_null($date)) {
@@ -1462,4 +1462,4 @@ class Date
* c-hanging-comment-ender-p: nil
* End:
*/
?>
?>