diff --git a/framework/core/src/Api/JsonApi.php b/framework/core/src/Api/JsonApi.php index dd192dc930..100265bbd6 100644 --- a/framework/core/src/Api/JsonApi.php +++ b/framework/core/src/Api/JsonApi.php @@ -25,8 +25,8 @@ class JsonApi extends BaseJsonApi { - protected string $resourceClass; - protected string $endpointName; + protected ?string $resourceClass = null; + protected ?string $endpointName = null; protected ?Request $baseRequest = null; protected ?Container $container = null;