@@ -181,7 +181,7 @@ |
||
181 | 181 | return !empty($result); |
182 | 182 | } |
183 | 183 | |
184 | - public function setLabel(string $title, ?int $val=0): bool |
|
184 | + public function setLabel(string $title, ?int $val = 0): bool |
|
185 | 185 | { |
186 | 186 | try { |
187 | 187 | $result = $this->db->update( |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * @param string|null $url |
33 | 33 | * @param array|null $options |
34 | 34 | */ |
35 | - public function __construct(?string $url = null, ?array $options=[]) |
|
35 | + public function __construct(?string $url = null, ?array $options = []) |
|
36 | 36 | { |
37 | 37 | $this->url = $url; |
38 | 38 | $this->options = $options; |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | $titles[] = trim($res['title']); |
88 | 88 | } |
89 | 89 | |
90 | - if(isset($this->options['reverse']) && $this->options['reverse'] === true ) { |
|
90 | + if (isset($this->options['reverse']) && $this->options['reverse'] === true) { |
|
91 | 91 | krsort($titles); |
92 | 92 | } |
93 | 93 |