summaryrefslogtreecommitdiff
path: root/vendor/symfony/finder/SplFileInfo.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/finder/SplFileInfo.php')
-rw-r--r--vendor/symfony/finder/SplFileInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/finder/SplFileInfo.php b/vendor/symfony/finder/SplFileInfo.php
index 19f95e26..2cf3a27f 100644
--- a/vendor/symfony/finder/SplFileInfo.php
+++ b/vendor/symfony/finder/SplFileInfo.php
@@ -28,7 +28,7 @@ class SplFileInfo extends \SplFileInfo
*/
public function __construct($file, $relativePath, $relativePathname)
{
- parent::__construct($file);
+ parent::__construct(realpath($file) ?: $file);
$this->relativePath = $relativePath;
$this->relativePathname = $relativePathname;
}