From 114514291ec4b1c7780b0cfc77053bbccf3ddf47 Mon Sep 17 00:00:00 2001 From: Andrea Marco Sartori Date: Thu, 12 Jan 2023 21:11:12 +1000 Subject: [PATCH] Keep conditions on one line --- src/Sources/Json.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Sources/Json.php b/src/Sources/Json.php index 04e0ba3..c9e6303 100644 --- a/src/Sources/Json.php +++ b/src/Sources/Json.php @@ -33,9 +33,7 @@ class Json extends Source */ public function matches(): bool { - return is_string($this->source) - && !is_file($this->source) - && !$this->isEndpoint($this->source); + return is_string($this->source) && !is_file($this->source) && !$this->isEndpoint($this->source); } /**