-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Description
It was common to write code examples using method(...)
to omit the details of the arguments.
Lines 2040 to 2041 in 250afd3
$messenger->transport('async_priority_normal')->dsn(...); | |
$messenger->transport('image_transport')->dsn(...); |
This notation is becoming confusing since first-class callable syntax was introduced in PHP 8.1.
I think we should find a new notation for such examples : I propose ->method(/* ... */)
$messenger->transport('async_priority_normal')->dsn(/* ... */);
$messenger->transport('image_transport')->dsn(/* ... */);
COil, evertharmeling, apfelbox and faizanakram99