Skip to content

Commit

Permalink
fixing styleci (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
devajmeireles committed Jan 3, 2024
1 parent 7b776ca commit 310533c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function compileInclude($value)
protected function compileServers($value)
{
$value = preg_replace_callback('/@servers\(\[(.*?)\]\)/s', function ($matches) {
return "@servers([" . preg_replace('/\s+/', '', $matches[1]) . "])";
return '@servers(['.preg_replace('/\s+/', '', $matches[1]).'])';
}, $value);

$pattern = $this->createMatcher('servers');
Expand Down

0 comments on commit 310533c

Please sign in to comment.