Bugfix: Add missing return
This commit is contained in:
parent
bcd01610e9
commit
358fe578b3
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ abstract class PatchBase {
|
||||||
$this->data = $str;
|
$this->data = $str;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
protected function fetch_json(string $url, array $opts = array()) : bool {
|
protected function fetch_json(string $url, array $opts = array()) : bool {
|
||||||
$str = $this->curl($url, $opts);
|
$str = $this->curl($url, $opts);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue