We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e4b3d commit 7926dc6Copy full SHA for 7926dc6
src/Metadata/Parameter.php
@@ -14,6 +14,7 @@
14
namespace ApiPlatform\Metadata;
15
16
use ApiPlatform\OpenApi;
17
+use ApiPlatform\State\ParameterNotFound;
18
use ApiPlatform\State\ParameterProviderInterface;
19
use Symfony\Component\Validator\Constraint;
20
@@ -107,7 +108,7 @@ public function getConstraints(): Constraint|array|null
107
108
*/
109
public function getValue(): mixed
110
{
- return $this->extraProperties['_api_values'] ?? null;
111
+ return $this->extraProperties['_api_values'] ?? new ParameterNotFound();
112
}
113
114
/**
0 commit comments