File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class DumpServerCommand extends Command
3030 */
3131 protected $ server ;
3232
33- public function __construct (string $ name = null )
33+ public function __construct (? string $ name = null )
3434 {
3535 parent ::__construct ($ name );
3636
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class Dumper
2424 * @param \Symfony\Component\VarDumper\Server\Connection|null $connection
2525 * @return void
2626 */
27- public function __construct (Connection $ connection = null )
27+ public function __construct (? Connection $ connection = null )
2828 {
2929 $ this ->connection = $ connection ;
3030 }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class RequestContextProvider implements ContextProviderInterface
3535 *
3636 * @param Request $currentRequest
3737 */
38- public function __construct (Request $ currentRequest = null )
38+ public function __construct (? Request $ currentRequest = null )
3939 {
4040 $ this ->currentRequest = $ currentRequest ;
4141 $ this ->cloner = new VarCloner ;
You can’t perform that action at this time.
0 commit comments