mirror of
https://github.com/envoyr/nginx-configurator.git
synced 2026-04-28 04:06:18 +00:00
Fix string formatting in __toString method
This commit is contained in:
@@ -46,7 +46,7 @@ class Location extends Context
|
|||||||
public function __toString() : string
|
public function __toString() : string
|
||||||
{
|
{
|
||||||
return sprintf(
|
return sprintf(
|
||||||
"{$this->name} %s %s {\n\t%s\n}\n",
|
"{$this->name} %s %s {\n\t%s\n}",
|
||||||
$this->match,
|
$this->match,
|
||||||
$this->location,
|
$this->location,
|
||||||
implode("\n\t", (array)$this->childNodes->getIterator())
|
implode("\n\t", (array)$this->childNodes->getIterator())
|
||||||
|
|||||||
Reference in New Issue
Block a user