Skip to content

Commit a291ef6

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: Fix Explicite nullable types (7.0)
2 parents 24cb50f + b9a3535 commit a291ef6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,10 +1082,10 @@ Mailer Assertions
10821082
Notifier Assertions
10831083
...................
10841084

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

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

0 commit comments

Comments
 (0)