Skip to content

Commit

Permalink
Format codes
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Nov 8, 2022
1 parent 5fa3b4c commit 76bbc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Foundation/AsyncQueue/ClosureJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected function getInjections(array $definitions, string $callableName, array
} elseif ($definition->allowsNull()) {
$injections[] = null;
} else {
throw new \InvalidArgumentException("Parameter '{$definition->getMeta('name')}' "
throw new GlobalInvalidArgumentException("Parameter '{$definition->getMeta('name')}' "
. "of {$callableName} should not be null");
}
} else {
Expand Down

0 comments on commit 76bbc98

Please sign in to comment.