Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: SimpleRelativePathHelper.php
<?php declare(strict_types = 1); namespace PHPStan\File; class SimpleRelativePathHelper implements RelativePathHelper { /** @var string */ private $currentWorkingDirectory; public function __construct(string $currentWorkingDirectory) { $this->currentWorkingDirectory = $currentWorkingDirectory; } public function getRelativePath(string $filename): string { if ($this->currentWorkingDirectory !== '' && strpos($filename, $this->currentWorkingDirectory) === 0) { return substr($filename, strlen($this->currentWorkingDirectory) + 1); } return $filename; } }