add AllowDynamicProperties attribute

Signed-off-by: Maurice Preuß <hello@envoyr.com>
This commit is contained in:
2025-09-18 19:22:11 +00:00
parent 5ab57dcdfe
commit 297404b05d
2 changed files with 6 additions and 4 deletions

View File

@@ -6,7 +6,8 @@ use Anikeen\Id\Exceptions\ResourceException;
use Anikeen\Id\Result;
use JsonSerializable;
abstract class BaseResource implements JsonSerializable
#[\AllowDynamicProperties]
abstract class BaseResource implements JsonSerializable
{
public Result $result;
@@ -53,4 +54,4 @@ abstract class BaseResource implements JsonSerializable
{
return false;
}
}
}