Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
benatespina committed Jun 26, 2017
1 parent fa97508 commit a6d0173
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ protected function alias($user, $isApi = false)

protected function commandHandlerTag($user, $isApi = false)
{
return 'bengor_user_' . $user . $isApi ? '_api' : '' . '_command_bus_handler';
$apiPartName = $isApi ? '_api' : '';

return 'bengor_user_' . $user . $apiPartName . '_command_bus_handler';
}

/**
Expand Down

0 comments on commit a6d0173

Please sign in to comment.