Skip to content

Commit 27e3c32

Browse files
committed
[Exceptions] Update ArgumentNullException Message
1 parent fa6eb48 commit 27e3c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exceptions/ArgumentNullException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ArgumentNullException extends BaseException
88
{
99
public function __construct(string $argumentName = 'Argument')
1010
{
11-
$msg = str_concat_space($argumentName, 'is null on', $this->line, 'in', $this->file);
11+
$msg = "$argumentName is null on $this->line, in $this->file";
1212

1313
parent::__construct($msg, ExitCode::RESOURCE_UNAVAILABLE, $this->getPrevious());
1414
}

0 commit comments

Comments
 (0)