add AllowDynamicProperties attribute

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

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ use Throwable;
* @property Response $response
* @property null|Throwable $exception
*/
#[\AllowDynamicProperties]
abstract class BaseCollection implements JsonSerializable
{
private Closure $callable;
+1
View File
@@ -6,6 +6,7 @@ use Anikeen\Id\Exceptions\ResourceException;
use Anikeen\Id\Result;
use JsonSerializable;
#[\AllowDynamicProperties]
abstract class BaseResource implements JsonSerializable
{
public Result $result;