Skip to content

Commit

Permalink
Add missing typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
dvesh3 committed Aug 3, 2023
1 parent 23c6ec7 commit af4adb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(protected TranslatorInterface $translator)
/**
* @return string[]
*/
public static function getSubscribedServices()
public static function getSubscribedServices(): array
{
$services = parent::getSubscribedServices();
$services['translator'] = TranslatorInterface::class;
Expand Down

0 comments on commit af4adb9

Please sign in to comment.