Keep conditions on one line

This commit is contained in:
Andrea Marco Sartori 2023-01-12 21:11:12 +10:00
parent 6ddb7fb23e
commit 114514291e

View File

@ -33,9 +33,7 @@ class Json extends Source
*/ */
public function matches(): bool public function matches(): bool
{ {
return is_string($this->source) return is_string($this->source) && !is_file($this->source) && !$this->isEndpoint($this->source);
&& !is_file($this->source)
&& !$this->isEndpoint($this->source);
} }
/** /**