File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 40444044 </TypeDoesNotContainNull >
40454045 </file >
40464046 <file src =" lib/private/Group/Group.php" >
4047- <InvalidArgument >
4048- <code ><![CDATA[ bool]]> </code >
4049- </InvalidArgument >
4050- <InvalidOperand >
4051- <code ><![CDATA[ $hide]]> </code >
4052- </InvalidOperand >
40534047 <LessSpecificReturnStatement >
40544048 <code ><![CDATA[ $users]]> </code >
40554049 </LessSpecificReturnStatement >
Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ public function canAddUser(): bool {
377377 */
378378 public function hideFromCollaboration (): bool {
379379 return array_reduce ($ this ->backends , function (bool $ hide , GroupInterface $ backend ) {
380- return $ hide | ($ backend instanceof IHideFromCollaborationBackend && $ backend ->hideGroup ($ this ->gid ));
380+ return $ hide || ($ backend instanceof IHideFromCollaborationBackend && $ backend ->hideGroup ($ this ->gid ));
381381 }, false );
382382 }
383383}
You can’t perform that action at this time.
0 commit comments