mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-19 16:46:11 +00:00
add AllowDynamicProperties attribute
Signed-off-by: Maurice Preuß <hello@envoyr.com>
This commit is contained in:
@@ -24,6 +24,7 @@ use Throwable;
|
|||||||
* @property Response $response
|
* @property Response $response
|
||||||
* @property null|Throwable $exception
|
* @property null|Throwable $exception
|
||||||
*/
|
*/
|
||||||
|
#[\AllowDynamicProperties]
|
||||||
abstract class BaseCollection implements JsonSerializable
|
abstract class BaseCollection implements JsonSerializable
|
||||||
{
|
{
|
||||||
private Closure $callable;
|
private Closure $callable;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ use Anikeen\Id\Exceptions\ResourceException;
|
|||||||
use Anikeen\Id\Result;
|
use Anikeen\Id\Result;
|
||||||
use JsonSerializable;
|
use JsonSerializable;
|
||||||
|
|
||||||
|
#[\AllowDynamicProperties]
|
||||||
abstract class BaseResource implements JsonSerializable
|
abstract class BaseResource implements JsonSerializable
|
||||||
{
|
{
|
||||||
public Result $result;
|
public Result $result;
|
||||||
|
|||||||
Reference in New Issue
Block a user