|
@@ -12,12 +12,12 @@ |
|
|
block discarded – undo |
|
12
|
12
|
private $filters = []; |
|
13
|
13
|
|
|
14
|
14
|
function __construct(array $groups, array $filters) { |
|
15
|
|
- $this->groups = array_filter($groups, function($a) {return $a instanceof Group;}); |
|
|
15
|
+ $this->groups = array_filter($groups, function($a) {return $a instanceof Group; }); |
|
16
|
16
|
$this->filters = $filters; |
|
17
|
17
|
} |
|
18
|
18
|
|
|
19
|
19
|
private function getGroupsIds() { |
|
20
|
|
- return array_map(function($a){return $a->getId();}, $this->groups); |
|
|
20
|
+ return array_map(function($a) {return $a->getId(); }, $this->groups); |
|
21
|
21
|
} |
|
22
|
22
|
|
|
23
|
23
|
/** |
Please login to merge, or discard this patch.