Commit 8ab92ce1 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Fix deprecated curly braces usage in PHP array

Fixes: #5
parent d53acb81
...@@ -103,7 +103,7 @@ class ConfigurationService { ...@@ -103,7 +103,7 @@ class ConfigurationService {
protected function getTypoScriptConfiguration() { protected function getTypoScriptConfiguration() {
$configuration = (array) $this->controllerContext->conf; $configuration = (array) $this->controllerContext->conf;
foreach ($configuration as $key => &$option) { foreach ($configuration as $key => &$option) {
if ($key{\strlen($key) - 1} !== '.' && isset($configuration[$key . '.'])) { if ($key[\strlen($key) - 1] !== '.' && isset($configuration[$key . '.'])) {
$option = $this->controllerContext->cObj->stdWrap($option, $configuration[$key . '.']); $option = $this->controllerContext->cObj->stdWrap($option, $configuration[$key . '.']);
} }
} }
......
Supports Markdown
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