Browse Source

Add return type to DummyTestSplFileInfo::getRealPath()

Signed-off-by: Alexander M. Turek <me@derrabus.de>
Alexander M. Turek 3 years ago
parent
commit
03d61aa6c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Differ/DummyTestSplFileInfo.php

+ 1 - 1
tests/Differ/DummyTestSplFileInfo.php

@@ -16,7 +16,7 @@ namespace PhpCsFixer\Tests\Differ;
 
 final class DummyTestSplFileInfo extends \SplFileInfo
 {
-    public function getRealPath()
+    public function getRealPath(): string
     {
         return $this->getFilename();
     }