mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Initialise output to string
This commit is contained in:
parent
0655e1c19c
commit
4cd7d923df
@ -11,7 +11,7 @@ class Text extends Output
|
||||
*/
|
||||
public function create(): string
|
||||
{
|
||||
$output = null;
|
||||
$output = '';
|
||||
foreach ($this->issues_data as $issue_data) {
|
||||
$output .= sprintf(
|
||||
'%s:%s:%s:%s - %s: %s',
|
||||
|
Loading…
Reference in New Issue
Block a user