diff --git a/tests/Bridge/Symfony/Resources/XliffValidatorTestCase.php b/tests/Bridge/Symfony/Resources/XliffValidatorTestCase.php index e5df2bc..29214ea 100644 --- a/tests/Bridge/Symfony/Resources/XliffValidatorTestCase.php +++ b/tests/Bridge/Symfony/Resources/XliffValidatorTestCase.php @@ -29,7 +29,7 @@ abstract class XliffValidatorTestCase extends TestCase */ protected $errors = []; - public function setUp(): void + protected function setUp(): void { $this->loader = new XliffFileLoader(); } @@ -37,7 +37,7 @@ public function setUp(): void /** * @dataProvider getXliffPaths */ - public function testXliff($path): void + public function testXliff(string $path): void { $this->validatePath($path); diff --git a/tests/FlashMessage/FlashManagerTest.php b/tests/FlashMessage/FlashManagerTest.php index 066b02e..bed43ea 100644 --- a/tests/FlashMessage/FlashManagerTest.php +++ b/tests/FlashMessage/FlashManagerTest.php @@ -41,7 +41,7 @@ class FlashManagerTest extends TestCase /** * Set up units tests. */ - public function setUp(): void + protected function setUp(): void { $this->session = $this->getSession(); $this->flashManager = $this->getFlashManager([