Skip to content

Commit

Permalink
fix: unit test with groupManager
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Marinier <[email protected]>
  • Loading branch information
smarinier committed Oct 22, 2024
1 parent da0cc79 commit ab80d61
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/Service/RestrictionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@
use OCP\IGroupManager;

class RestrictionService {
public function __construct(private RestrictionMapper $mapper, private IGroupManager $groupManager) {
/** @var RestrictionMapper */
private $mapper;

/** @var IGroupManager */
private $groupManager;

public function __construct(RestrictionMapper $mapper, IGroupManager $groupManager) {
$this->mapper = $mapper;
$this->groupManager = $groupManager;
}

public function findAll(): array {
Expand Down

0 comments on commit ab80d61

Please sign in to comment.