Skip to content

Commit

Permalink
Merge pull request #40 from JackieDo/version-2.x
Browse files Browse the repository at this point in the history
Fix for PHP 8.1 and later
  • Loading branch information
JackieDo authored Feb 19, 2022
2 parents 8b48899 + 3e1812d commit e0ee77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jackiedo/LogReader/Entities/TraceEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected function assignAttributes()
$parsed = $this->parser->parseTraceEntry($this->content);

foreach ($parsed as $key => $value) {
$this->{$key} = str_replace('\\\\', '\\', $value);
$this->{$key} = str_replace('\\\\', '\\', (string) $value);
}
}
}

0 comments on commit e0ee77f

Please sign in to comment.