Skip to content

Commit af35d34

Browse files
authoredFeb 7, 2025··
fix(laravel): mitigate property metadata read for Error (#6951)
1 parent da796b9 commit af35d34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/Laravel/ApiResource/Error.php

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#[ErrorResource(
2929
types: ['hydra:Error'],
3030
openapi: false,
31+
uriVariables: ['status'],
3132
operations: [
3233
new Operation(
3334
name: '_api_errors_problem',

0 commit comments

Comments
 (0)
Please sign in to comment.