mirror of
https://github.com/envoyr/nginx-configurator.git
synced 2026-10-31 21:09:06 +00:00
Fix string formatting in __toString method
This commit is contained in:
1 parent
eeb85df689
commit
cb2b55b936
1 file changed
+1
-1
@@ -46,7 +46,7 @@ class Location extends Context
|
||||
public function __toString() : string
|
||||
{
|
||||
return sprintf(
|
||||
"{$this->name} %s %s {\n\t%s\n}\n",
|
||||
"{$this->name} %s %s {\n\t%s\n}",
|
||||
$this->match,
|
||||
$this->location,
|
||||
implode("\n\t", (array)$this->childNodes->getIterator())
|
||||
|
||||
Reference in new issue
Block a user