Skip to content

Commit

Permalink
Issue #43: Mark parameter as nullable if it has NULL default value.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote authored and hfiguiere committed Nov 15, 2024
1 parent c7beb7c commit a43b20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Functional/AccessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function testCollaboraMediaPermissions(): void {
* An array of paths, or NULL to just use the array keys from $expected.
* This parameter is useful if the paths all look very similar.
*/
protected function assertPathsAccessByUsers(array $expected, array $accounts, array $paths = NULL): void {
protected function assertPathsAccessByUsers(array $expected, array $accounts, ?array $paths = NULL): void {
if ($paths === NULL) {
$paths = array_keys($expected);
$paths = array_combine($paths, $paths);
Expand Down

0 comments on commit a43b20b

Please sign in to comment.