Skip to content

Commit

Permalink
[GithubIssueBridge] Be consistent in avoiding is_null
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
  • Loading branch information
Pierre Mazière authored and logmanoriginal committed Nov 29, 2018
1 parent d5085a4 commit f4b46e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/GithubIssueBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function getName(){
}

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') {
Expand Down

0 comments on commit f4b46e4

Please sign in to comment.