Fix #86c89ftg9 - Remove PHP 7.4 typed properties for PHP 7.3 compatibility

Remove typed property declarations to prevent fatal parse errors on
Moodle 4.0.x servers running PHP 7.3. Lower environment.xml PHP
requirement from 7.4 to 7.3.

Fixes #13
This commit is contained in:
Hamza Tamyachte committed 2026-03-15 22:22:16 +01:00
1 parent e74ed2ae69
commit af275d1699
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -42,14 +42,14 @@ class condition extends \core_availability\condition {
*
* @var string
*/
protected string $ipaddresses = '';
protected $ipaddresses = '';
/**
* Predefined IP address ranges.
*
* @var array
*/
protected array $predefinedranges = [];
protected $predefinedranges = [];
/**
* condition constructor.