Skip to content

Commit

Permalink
Fix Explicite nullable types (7.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Apr 17, 2024
1 parent 28cff68 commit be50a3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1082,10 +1082,10 @@ Mailer Assertions
Notifier Assertions
...................

``assertNotificationCount(int $count, string $transportName = null, string $message = '')``
``assertNotificationCount(int $count, ?string $transportName = null, string $message = '')``
Asserts that the given number of notifications has been created
(in total or for the given transport).
``assertQueuedNotificationCount(int $count, string $transportName = null, string $message = '')``
``assertQueuedNotificationCount(int $count, ?string $transportName = null, string $message = '')``
Asserts that the given number of notifications are queued
(in total or for the given transport).
``assertNotificationIsQueued(MessageEvent $event, string $message = '')``
Expand Down Expand Up @@ -1113,7 +1113,7 @@ HttpClient Assertions
For all the following assertions, ``$client->enableProfiler()`` must be
called before the code that will trigger HTTP request(s).

``assertHttpClientRequest(string $expectedUrl, string $expectedMethod = 'GET', string|array $expectedBody = null, array $expectedHeaders = [], string $httpClientId = 'http_client')``
``assertHttpClientRequest(string $expectedUrl, string $expectedMethod = 'GET', string|array|null $expectedBody = null, array $expectedHeaders = [], string $httpClientId = 'http_client')``
Asserts that the given URL has been called using, if specified,
the given method body and headers. By default it will check on the HttpClient,
but you can also pass a specific HttpClient ID.
Expand Down

0 comments on commit be50a3c

Please sign in to comment.