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.
2 parents 08b1d1b + 7926dc6 commit 090b2fbCopy full SHA for 090b2fb
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
@@ -119,7 +120,7 @@ public function getSecurityMessage(): ?string
119
120
*/
121
public function getValue(): mixed
122
{
- return $this->extraProperties['_api_values'] ?? null;
123
+ return $this->extraProperties['_api_values'] ?? new ParameterNotFound();
124
}
125
126
/**
0 commit comments