Skip to content

Commit a144826

Browse files
committed
Fix default operation name
1 parent 0b716ce commit a144826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridge/ContextInjector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ public function getOperationName(Request $request)
7878
{
7979
if (null !== ($fragment = $request->attributes->get('is_fragment'))) {
8080
return ($controller = $request->attributes->get('_controller', null))
81-
? 'fragment'
82-
: sprintf('fragment.%s', $controller);
81+
? sprintf('fragment.%s', $controller)
82+
: 'fragment';
8383
}
8484

8585
if (null === ($routeName = $request->attributes->get('_route', null))) {

0 commit comments

Comments
 (0)