From f4b46e497e877b73521de677644188594f023435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Sun, 11 Nov 2018 01:38:49 +0100 Subject: [PATCH] [GithubIssueBridge] Be consistent in avoiding is_null MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/GithubIssueBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/GithubIssueBridge.php b/bridges/GithubIssueBridge.php index 0cb1e627..c193610c 100644 --- a/bridges/GithubIssueBridge.php +++ b/bridges/GithubIssueBridge.php @@ -52,7 +52,7 @@ class GithubIssueBridge extends BridgeAbstract { } public function getURI(){ - if(!is_null($this->getInput('u')) && !is_null($this->getInput('p'))) { + if(null !== $this->getInput('u') && null !== $this->getInput('p')) { $uri = static::URI . $this->getInput('u') . '/' . $this->getInput('p') . '/issues'; if($this->queriedContext === 'Issue comments') {