@@ -3,19 +3,19 @@ discard block |
||
3 | 3 | |
4 | 4 | class LDAPObject extends \SerializableObject |
5 | 5 | { |
6 | - public $server; |
|
6 | + public $server; |
|
7 | 7 | |
8 | - function __construct($array = false, $server = false) |
|
9 | - { |
|
10 | - parent::__construct($array); |
|
11 | - $this->server = $server; |
|
12 | - } |
|
8 | + function __construct($array = false, $server = false) |
|
9 | + { |
|
10 | + parent::__construct($array); |
|
11 | + $this->server = $server; |
|
12 | + } |
|
13 | 13 | |
14 | - public function jsonSerialize() |
|
15 | - { |
|
16 | - $ret = array(); |
|
17 | - foreach($this as $key => $value) |
|
18 | - { |
|
14 | + public function jsonSerialize() |
|
15 | + { |
|
16 | + $ret = array(); |
|
17 | + foreach($this as $key => $value) |
|
18 | + { |
|
19 | 19 | if($key === 'server' || $key === 'count') continue; |
20 | 20 | if(is_numeric($key)) continue; |
21 | 21 | if($key === 'jpegphoto') |
@@ -31,9 +31,9 @@ discard block |
||
31 | 31 | { |
32 | 32 | $ret[$key] = $value; |
33 | 33 | } |
34 | - } |
|
35 | - return $ret; |
|
36 | - } |
|
34 | + } |
|
35 | + return $ret; |
|
36 | + } |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | ?> |
@@ -99,7 +99,7 @@ |
||
99 | 99 | $string .= '<label for="captcha" class="col-sm-2 control-label">'.$this->get_question().'</label><div class="col-sm-10"><input class="form-control" type="text" id="captcha" name="captcha" placeholder="'.$this->get_hint().'" required/></div>'; |
100 | 100 | if($ownForm) |
101 | 101 | { |
102 | - $string .='</form>'; |
|
102 | + $string .= '</form>'; |
|
103 | 103 | } |
104 | 104 | if($explination) |
105 | 105 | { |