Completed
Pull Request — master (#822)
by
unknown
19:08
created

UserService::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
namespace OCA\Calendar\Service;
3
4
class UserService {
5
6
    private $userManager;
7
8
    public function __construct($userManager){
9
        $this->userManager = $userManager;
10
    }
11
12
    public function create($userId, $password) {
13
        return $this->userManager->create($userId, $password);
14
    }
15
16
}