diff --git a/lib/internal/Magento/Framework/App/View/Deployment/Version/Storage/File.php b/lib/internal/Magento/Framework/App/View/Deployment/Version/Storage/File.php index 8099b6864b3a1..21dc6dd1fc214 100644 --- a/lib/internal/Magento/Framework/App/View/Deployment/Version/Storage/File.php +++ b/lib/internal/Magento/Framework/App/View/Deployment/Version/Storage/File.php @@ -41,7 +41,7 @@ public function __construct( public function load() { if ($this->directory->isReadable($this->fileName)) { - return $this->directory->readFile($this->fileName); + return trim($this->directory->readFile($this->fileName)); } return false; }