Skip to content
Permalink
Browse files

Fix #92

  • Loading branch information
theseer committed Nov 22, 2019
1 parent 6f579ef commit b12074b24ec6a91d9b6d853484d0acabcc8e41fe
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/StaticRequireListRenderer.php
@@ -26,8 +26,9 @@ public function __construct($useOnce, $indent, $linebreak) {
*/
public function render(array $list) {
$require = (boolean)$this->useOnce ? 'require_once' : 'require';
$glue = '\';' . $this->linebreak . $this->indent . $require . ' ___BASEDIR___\'';
$require .= ' ___BASEDIR___\'';
$glue = '\';' . $this->linebreak . $this->indent . $require;
return $this->indent . $require . ' ' . implode($glue, $list) . '\';';
return $this->indent . $require . implode($glue, $list) . '\';';
}
}

0 comments on commit b12074b

Please sign in to comment.
You can’t perform that action at this time.