Skip to content

Commit d8c13d3

Browse files
Make more nullable types explicit
1 parent f2ab692 commit d8c13d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ParameterBag.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(array $parameters = [])
3939
*
4040
* @return array
4141
*/
42-
public function all(/* string $key = null */)
42+
public function all(/* ?string $key = null */)
4343
{
4444
$key = \func_num_args() > 0 ? func_get_arg(0) : null;
4545

0 commit comments

Comments
 (0)