Commit f1353bf8 authored by Benni Mack's avatar Benni Mack
Browse files

Apply suggestion to extensions/ter/Classes/Api/ExtensionVersion.php

parent 8d3b85d1
Pipeline #9144 passed with stages
in 8 minutes and 38 seconds
......@@ -100,7 +100,7 @@ class ExtensionVersion
protected function getStorageFolder(): string
{
$extensionKey = (string)$this->extensionKey;
$firstLetter = strtolower(substr($extensionKey, 0, 1));
$firstLetter = strtolower($extensionKey[0]);
$secondLetter = strtolower(substr($extensionKey, 1, 1));
$basePath = GeneralUtility::makeInstance(Configuration::class)->getRepositoryBasePath();
return $basePath . $firstLetter . '/' . $secondLetter . '/';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment