We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40194f9 commit b7b6c66Copy full SHA for b7b6c66
rules/TypeDeclaration/Rector/StmtsAwareInterface/DeclareStrictTypesRector.php
@@ -66,7 +66,7 @@ public function beforeTraverse(array $nodes): ?array
66
return null;
67
}
68
69
- if ($this->startWithShebang($this->file)) {
+ if ($this->startsWithShebang($this->file)) {
70
71
72
@@ -126,7 +126,7 @@ public function refactor(Node $node): ?Node
126
127
128
129
- private function startWithShebang(File $file): bool
+ private function startsWithShebang(File $file): bool
130
{
131
return str_starts_with($file->getFileContent(), '#!');
132
0 commit comments