File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ public function testClassMethodScope(): void
6363 });
6464 }
6565
66- private function getFileScope (string $ filename ): Scope
66+ private static function getFileScope (string $ filename ): Scope
6767 {
6868 $ testScope = null ;
69- $ this -> processFile ($ filename , static function (Node $ node , Scope $ scope ) use (&$ testScope ): void {
69+ self :: processFile ($ filename , static function (Node $ node , Scope $ scope ) use (&$ testScope ): void {
7070 if (!($ node instanceof Exit_)) {
7171 return ;
7272 }
@@ -230,7 +230,7 @@ public function testUnionAndIntersection(
230230
231231 public static function dataAssignInIf (): array
232232 {
233- $ testScope = $ this -> getFileScope (__DIR__ . '/data/if.php ' );
233+ $ testScope = self :: getFileScope (__DIR__ . '/data/if.php ' );
234234
235235 return [
236236 [
@@ -760,7 +760,7 @@ public function testAssignInIf(
760760
761761 public static function dataConstantTypes (): array
762762 {
763- $ testScope = $ this -> getFileScope (__DIR__ . '/data/constantTypes.php ' );
763+ $ testScope = self :: getFileScope (__DIR__ . '/data/constantTypes.php ' );
764764
765765 return [
766766 [
You can’t perform that action at this time.
0 commit comments