diff --git a/composer.json b/composer.json index 66ba255..e4fff86 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ }, "minimum-stability": "stable", "require": { - "php": ">=8.3.0", + "php": ">=8.2.0", "yiisoft/yii2": "~2.0.45", "yiisoft/yii2-symfonymailer": "~2.0.3", "sam-it/yii2-mariadb": "^3.1", diff --git a/models/CollectionTasks.php b/models/CollectionTasks.php index 219b027..95fed0b 100644 --- a/models/CollectionTasks.php +++ b/models/CollectionTasks.php @@ -20,7 +20,7 @@ use yii\db\ActiveRecord; */ class CollectionTasks extends ActiveRecord { - const string SCENARIO_CREATE = 'create'; + const SCENARIO_CREATE = 'create'; /** * {@inheritdoc} diff --git a/models/Share.php b/models/Share.php index be08b69..3f98db4 100644 --- a/models/Share.php +++ b/models/Share.php @@ -21,7 +21,7 @@ use yii\db\ActiveRecord; */ class Share extends ActiveRecord { - const string SCENARIO_UPDATE = 'update'; + const SCENARIO_UPDATE = 'update'; // PHP8.2 need to remove "string" /** * {@inheritdoc}