* up php to 8.1 * up php to 8.1 * Support 8.1 version * Support 8.2 version * Support 8.2 version * set tag
@@ -11,4 +11,9 @@ class Fortune extends Model
protected $_pri_key = 'id';
protected $_cache_time = 0;
+
+ public int $id;
+ public string $message;
}
@@ -11,4 +11,9 @@ class World extends Model
+ public int $randomNumber;
@@ -17,7 +17,7 @@
],
"require": {
"php": ">=7.1.0",
- "lizhichao/one": ">=2.0.1",
+ "lizhichao/one": ">=2.3.1",
"ext-json": "*"
},
"autoload": {