Skip to content

Commit 4083ca9

Browse files
authored
Update Plex.php
PHPCS fix 30 | ERROR | [x] Expected 1 space after IF keyword; 0 found 45 | ERROR | [x] Expected 1 space after IF keyword; 0 found
1 parent 2969441 commit 4083ca9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Plex/Plex.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function livestats()
2727
{
2828
$status = "inactive";
2929
$data = [];
30-
if($this->config->section_1_key > 0) {
30+
if ($this->config->section_1_key > 0) {
3131
$res = parent::execute($this->url("/library/sections/{$this->config->section_1_key}/all"), $this->attrs());
3232
$body = $res->getBody();
3333
$xml = simplexml_load_string(
@@ -42,7 +42,7 @@ public function livestats()
4242
}
4343
}
4444

45-
if($this->config->section_2_key > 0) {
45+
if ($this->config->section_2_key > 0) {
4646
$res = parent::execute($this->url("/library/sections/{$this->config->section_2_key}/all"), $this->attrs());
4747
$body = $res->getBody();
4848
$xml = simplexml_load_string(

0 commit comments

Comments
 (0)