Skip to content

Commit

Permalink
Issue CollaboraOnline#43: Mark parameter as nullable if it has NULL d…
Browse files Browse the repository at this point in the history
…efault value.
  • Loading branch information
donquixote committed Nov 8, 2024
1 parent eeec1fb commit 6cbbaf0
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 6cbbaf0

Please sign in to comment.