Skip to content

Commit 89ca6f2

Browse files
authored
fix(state): _api_operation_nme to _api_operation_name in ErrorProvider (#7637)
1 parent 654f8e6 commit 89ca6f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/State/ErrorProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function provide(Operation $operation, array $uriVariables = [], array $c
5050
foreach ($resource->getOperations() as $name => $operation) {
5151
if (isset($operation->getOutputFormats()[$request->getRequestFormat()])) {
5252
$request->attributes->set('_api_operation', $operation);
53-
$request->attributes->set('_api_operation_nme', $name);
53+
$request->attributes->set('_api_operation_name', $name);
5454
break 2;
5555
}
5656
}

0 commit comments

Comments
 (0)