Skip to content

Commit ac7669c

Browse files
committed
Remove return typehints to support older versions
1 parent 0dfc29d commit ac7669c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Report/Gitlab.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Gitlab implements Report
2323
/**
2424
* @psalm-suppress ImplementedParamTypeMismatch PHP_CodeSniffer has a wrong docblock
2525
*/
26-
public function generateFileReport($report, File $phpcsFile, $showSources = false, $width = 80): bool
26+
public function generateFileReport($report, File $phpcsFile, $showSources = false, $width = 80)
2727
{
2828
$hasOutput = false;
2929

@@ -64,7 +64,7 @@ public function generate(
6464
$width = 80,
6565
$interactive = false,
6666
$toScreen = true
67-
): void {
67+
) {
6868
echo '[' . rtrim($cachedData, ',') . ']' . PHP_EOL;
6969
}
7070
}

0 commit comments

Comments
 (0)