Skip to content

Commit

Permalink
function can be final as well
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jan 25, 2020
1 parent e1cd46d commit da30bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FinalClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

final class FinalClass
{
public function do() : int
public final function do() : int
{
return 1;
}
Expand Down

0 comments on commit da30bec

Please sign in to comment.