From 1cdc8a09fd0066a3472a5eefc522ceaff5a8781d Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Mon, 24 Jun 2024 17:55:18 +0200 Subject: [PATCH] Fix build --- .../ComponentModelArrayAccessDynamicReturnTypeExtensionTest.php | 2 +- tests/Type/Nette/MultiplierTest.php | 2 +- tests/Type/Nette/StringsMatchDynamicReturnTypeExtensionTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Type/Nette/ComponentModelArrayAccessDynamicReturnTypeExtensionTest.php b/tests/Type/Nette/ComponentModelArrayAccessDynamicReturnTypeExtensionTest.php index 5c2bbec..2babf1f 100644 --- a/tests/Type/Nette/ComponentModelArrayAccessDynamicReturnTypeExtensionTest.php +++ b/tests/Type/Nette/ComponentModelArrayAccessDynamicReturnTypeExtensionTest.php @@ -12,7 +12,7 @@ class ComponentModelArrayAccessDynamicReturnTypeExtensionTest extends TypeInfere */ public function dataFileAsserts(): iterable { - yield from $this->gatherAssertTypes(__DIR__ . '/data/componentModelArrayAccess.php'); + yield from self::gatherAssertTypes(__DIR__ . '/data/componentModelArrayAccess.php'); } /** diff --git a/tests/Type/Nette/MultiplierTest.php b/tests/Type/Nette/MultiplierTest.php index 834fbbe..92d2965 100644 --- a/tests/Type/Nette/MultiplierTest.php +++ b/tests/Type/Nette/MultiplierTest.php @@ -10,7 +10,7 @@ class MultiplierTest extends TypeInferenceTestCase /** @return iterable */ public function dataFileAsserts(): iterable { - yield from $this->gatherAssertTypes(__DIR__ . '/data/multiplier.php'); + yield from self::gatherAssertTypes(__DIR__ . '/data/multiplier.php'); } /** diff --git a/tests/Type/Nette/StringsMatchDynamicReturnTypeExtensionTest.php b/tests/Type/Nette/StringsMatchDynamicReturnTypeExtensionTest.php index c21a234..4305a53 100644 --- a/tests/Type/Nette/StringsMatchDynamicReturnTypeExtensionTest.php +++ b/tests/Type/Nette/StringsMatchDynamicReturnTypeExtensionTest.php @@ -12,7 +12,7 @@ class StringsMatchDynamicReturnTypeExtensionTest extends TypeInferenceTestCase */ public function dataFileAsserts(): iterable { - yield from $this->gatherAssertTypes(__DIR__ . '/data/strings-match.php'); + yield from self::gatherAssertTypes(__DIR__ . '/data/strings-match.php'); } /**