From 7d37998d7e42ccc5d651c439a459ddd444e61c7f Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sat, 31 May 2025 09:49:48 +0200 Subject: [PATCH] Remove variable cast --- tests/Unit/FileTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/FileTest.php b/tests/Unit/FileTest.php index 0dc69897..d9ea6b75 100644 --- a/tests/Unit/FileTest.php +++ b/tests/Unit/FileTest.php @@ -63,7 +63,7 @@ final class FileTest extends BaseTestCase $file = new File('foo'); $string = $file->toString(); $this->assertEquals('foo', $string); - $this->assertEquals('foo', (string) $string); + $this->assertEquals('foo', $string); } public function testToFilePointer(): void