Skip to content

Commit

Permalink
Merge pull request #21 from SimLibaud/sil2
Browse files Browse the repository at this point in the history
Add native return type declaration (string) to WebProfiler
  • Loading branch information
SimLibaud committed Apr 4, 2022
2 parents 64c5f73 + 0522c53 commit 3d8fa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebProfiler/RouteSecurityTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function getRoleForRoute()
return $this->data['role_for_route'];
}

public function getName()
public function getName(): string
{
return 'sil_route_security.route_security_tools';
}
Expand Down

0 comments on commit 3d8fa36

Please sign in to comment.