Skip to content

Commit

Permalink
thusfar
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmagicii committed Jun 7, 2024
1 parent e905c5c commit 15a69d7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Nether/Console/Struct/CommandLineUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,15 @@ public function
}

public function
GetOutputString($Prefix=''):
GetOutputString($Prefix='', bool $Trim=TRUE):
string {

return join(sprintf('%s%s', PHP_EOL, $Prefix), $this->Output);
$Output = join(sprintf('%s%s', PHP_EOL, $Prefix), $this->Output);

if($Trim)
$Output = trim($Output);

return $Output;
}

////////
Expand Down

0 comments on commit 15a69d7

Please sign in to comment.