Skip to content

Commit 20963cf

Browse files
wouterjnicolas-grekas
authored andcommitted
Add PHP types to private methods and functions
1 parent 129d0c0 commit 20963cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/HtmlDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ private function getSourceLink(string $file, int $line)
962962
}
963963
}
964964

965-
function esc(string $str)
965+
function esc(string $str): string
966966
{
967967
return htmlspecialchars($str, \ENT_QUOTES, 'UTF-8');
968968
}

0 commit comments

Comments
 (0)