mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-22 16:56:50 +01:00
Normalize calls to implode()
This commit is contained in:
parent
e3b10cc335
commit
cfb3693e1c
@ -46,7 +46,7 @@ abstract class AbstractController extends BaseAbstractController
|
||||
'location' => $this->name,
|
||||
'admin' => $this->admin(),
|
||||
'csrfToken' => CSRFToken::get(),
|
||||
'modals' => implode($this->modals),
|
||||
'modals' => implode('', $this->modals),
|
||||
'colorScheme' => $this->getColorScheme(),
|
||||
'appConfig' => JSON::encode([
|
||||
'baseUri' => $this->admin()->panelUri(),
|
||||
|
@ -61,7 +61,7 @@ class HTML
|
||||
if (static::isVoid($name)) {
|
||||
throw new InvalidArgumentException(sprintf('Cannot set tag content, <%s> is a void element', $name));
|
||||
}
|
||||
$html .= implode($content);
|
||||
$html .= implode('', $content);
|
||||
}
|
||||
if (!static::isVoid($name)) {
|
||||
$html .= '</' . $name . '>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user