Skip to content

Commit be86a19

Browse files
[5.4] cs fixes
1 parent 1e3cb35 commit be86a19

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ErrorRenderer/HtmlErrorRenderer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,6 @@ private function formatFile(string $file, int $line, string $text = null): strin
262262
* @param string $file A file path
263263
* @param int $line The selected line number
264264
* @param int $srcContext The number of displayed lines around or -1 for the whole file
265-
*
266-
* @return string
267265
*/
268266
private function fileExcerpt(string $file, int $line, int $srcContext = 3): string
269267
{

Resources/bin/extract-tentative-return-types.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class TentativeTypes
4040
4141
EOPHP;
4242

43-
while (false !== $file = fgets(STDIN)) {
43+
while (false !== $file = fgets(\STDIN)) {
4444
$code = file_get_contents(substr($file, 0, -1));
4545

4646
if (!str_contains($code, '@tentative-return-type')) {

0 commit comments

Comments
 (0)