Skip to content

Commit b7b6c66

Browse files
committed
typo
1 parent 40194f9 commit b7b6c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/TypeDeclaration/Rector/StmtsAwareInterface/DeclareStrictTypesRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function beforeTraverse(array $nodes): ?array
6666
return null;
6767
}
6868

69-
if ($this->startWithShebang($this->file)) {
69+
if ($this->startsWithShebang($this->file)) {
7070
return null;
7171
}
7272

@@ -126,7 +126,7 @@ public function refactor(Node $node): ?Node
126126
return null;
127127
}
128128

129-
private function startWithShebang(File $file): bool
129+
private function startsWithShebang(File $file): bool
130130
{
131131
return str_starts_with($file->getFileContent(), '#!');
132132
}

0 commit comments

Comments
 (0)