Add compatibility with php 8.2

This commit is contained in:
beu committed 2023-01-17 10:06:56 +01:00
1 parent 16889f1a6a
commit 9e8432999b
8 files changed
+25 -4

No files matched your search

@@ -7,6 +7,7 @@
namespace Maniaplanet\DedicatedServer\Structures;
#[\AllowDynamicProperties] // Allow Dynamic Properties for php 8.2 and above
class ServerOptions extends AbstractStructure
{
/** @var string */
@@ -17,6 +18,8 @@ class ServerOptions extends AbstractStructure
public $password;
/** @var string */
public $passwordForSpectator;
/** @var string */
public $nextCallVoteTimeOut;
/** @var float */
public $callVoteRatio;