Upgrade to 3.6.0
This commit is contained in:
@@ -121,7 +121,11 @@ class Exception extends \Exception
|
||||
}
|
||||
|
||||
// format message with passed data
|
||||
$message = Str::template($message, $this->data, '-', '{', '}');
|
||||
$message = Str::template($message, $this->data, [
|
||||
'fallback' => '-',
|
||||
'start' => '{',
|
||||
'end' => '}'
|
||||
]);
|
||||
|
||||
// handover to Exception parent class constructor
|
||||
parent::__construct($message, null, $args['previous'] ?? null);
|
||||
|
Reference in New Issue
Block a user