From 358fe578b361595bd7ffb04419bef38c05a193dc Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Wed, 26 Apr 2023 17:16:25 +0200 Subject: [PATCH] Bugfix: Add missing return --- PatchBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/PatchBase.php b/PatchBase.php index aa62f13..d42d57a 100644 --- a/PatchBase.php +++ b/PatchBase.php @@ -35,6 +35,7 @@ abstract class PatchBase { $this->data = $str; return true; } + return false; } protected function fetch_json(string $url, array $opts = array()) : bool { $str = $this->curl($url, $opts);