@@ -6,14 +6,14 @@ discard block |
||
6 | 6 | private $data; |
7 | 7 | private $auth; |
8 | 8 | |
9 | - function __construct($data=false, $auth=false) |
|
9 | + function __construct($data = false, $auth = false) |
|
10 | 10 | { |
11 | 11 | $this->data = array(); |
12 | 12 | $this->auth = $auth; |
13 | - if($data !== false) |
|
13 | + if ($data !== false) |
|
14 | 14 | { |
15 | 15 | $this->data = $data; |
16 | - if(isset($data['extended'])) |
|
16 | + if (isset($data['extended'])) |
|
17 | 17 | { |
18 | 18 | $this->data = $data['extended']; |
19 | 19 | } |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | $uid = $this->getUid(); |
28 | 28 | $filter = new \Data\Filter("uid eq '$uid' and gid eq '$name'"); |
29 | 29 | $groups = $group_data_table->read($filter); |
30 | - if($groups === false || !isset($groups[0])) |
|
30 | + if ($groups === false || !isset($groups[0])) |
|
31 | 31 | { |
32 | 32 | return false; |
33 | 33 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | function getEmail() |
39 | 39 | { |
40 | - if(isset($this->data['mail'])) |
|
40 | + if (isset($this->data['mail'])) |
|
41 | 41 | { |
42 | 42 | return $this->data['mail']; |
43 | 43 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | function getUid() |
48 | 48 | { |
49 | - if(isset($this->data['uid'])) |
|
49 | + if (isset($this->data['uid'])) |
|
50 | 50 | { |
51 | 51 | return $this->data['uid']; |
52 | 52 | } |