Skip to content

Commit 61daba9

Browse files
committed
remove dead parameter
1 parent 505ed73 commit 61daba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Rules/Methods/data/bug-12928.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class FooBar {
3333
*
3434
* @return non-falsy-string
3535
*/
36-
public function render(string $phptFile, string $code, array $replace): string
36+
public function render(string $code, array $replace): string
3737
{
3838
return str_replace(
3939
[
@@ -54,7 +54,7 @@ class FooBarBaz {
5454
*
5555
* @return non-empty-string
5656
*/
57-
public function render(string $phptFile, string $code, array $replace): string
57+
public function render(string $code, array $replace): string
5858
{
5959
return str_replace(
6060
[

0 commit comments

Comments
 (0)