From 06d00995049db9c7b915f67cfd4a5708aace458f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 30 Oct 2023 20:47:27 +0100 Subject: Require PHP 7.4+ (#5720) * Require PHP 7.4+ https://github.com/FreshRSS/FreshRSS/discussions/5474 * Update Docker oldest Alpine 3.13 with PHP 7.4.26 * Add missing packets to Docker oldest * Update to typed properties https://php.net/migration74.new-features#migration74.new-features.core.typed-properties * More types --- lib/Minz/Extension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Minz/Extension.php') diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.php index 79ab269fa..8bc3ce964 100644 --- a/lib/Minz/Extension.php +++ b/lib/Minz/Extension.php @@ -26,10 +26,10 @@ abstract class Minz_Extension { private $system_configuration; /** @var array{0:'system',1:'user'} */ - public static $authorized_types = array( + public static array $authorized_types = [ 'system', 'user', - ); + ]; /** @var bool */ private $is_enabled; -- cgit v1.2.3