summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Resources/Collection.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Collaboration/Resources/Collection.php')
-rw-r--r--lib/private/Collaboration/Resources/Collection.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Collaboration/Resources/Collection.php b/lib/private/Collaboration/Resources/Collection.php
index 4fb0e49f16e..827f4e6dd1f 100644
--- a/lib/private/Collaboration/Resources/Collection.php
+++ b/lib/private/Collaboration/Resources/Collection.php
@@ -126,7 +126,7 @@ class Collection implements ICollection {
* @since 16.0.0
*/
public function addResource(IResource $resource): void {
- array_map(function(IResource $r) use ($resource) {
+ array_map(function (IResource $r) use ($resource) {
if ($this->isSameResource($r, $resource)) {
throw new ResourceException('Already part of the collection');
}
@@ -158,7 +158,7 @@ class Collection implements ICollection {
* @since 16.0.0
*/
public function removeResource(IResource $resource): void {
- $this->resources = array_filter($this->getResources(), function(IResource $r) use ($resource) {
+ $this->resources = array_filter($this->getResources(), function (IResource $r) use ($resource) {
return !$this->isSameResource($r, $resource);
});