Skip to content

Commit 41954f4

Browse files
committed
[ci-review] Rector Rectify
1 parent b5a5781 commit 41954f4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rules/TypeDeclaration/Rector/StmtsAwareInterface/DeclareStrictTypesRector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Rector\TypeDeclaration\Rector\StmtsAwareInterface;
66

77
use PhpParser\Node;
8-
use PhpParser\Node\Stmt;
98
use PhpParser\Node\Stmt\Nop;
109
use Rector\Contract\Rector\HTMLAverseRectorInterface;
1110
use Rector\PhpParser\Node\FileNode;

src/ValueObject/Application/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,6 @@ public function getFileNode(): ?FileNode
221221

222222
public function hasShebang(): bool
223223
{
224-
return str_starts_with($this->getFileContent(), '#!');
224+
return str_starts_with($this->fileContent, '#!');
225225
}
226226
}

0 commit comments

Comments
 (0)