chore: code style changes

This commit is contained in:
Nuno Maduro
2023-12-15 11:42:09 +00:00
parent dd0dddffd4
commit 453133d382
11 changed files with 20 additions and 20 deletions

View File

@ -920,7 +920,7 @@ final class Expectation
* @param (Closure(Throwable): mixed)|string $exception
* @return self<TValue>
*/
public function toThrow(callable|string|Throwable $exception, string $exceptionMessage = null, string $message = ''): self
public function toThrow(callable|string|Throwable $exception, ?string $exceptionMessage = null, string $message = ''): self
{
$callback = NullClosure::create();