[GithubIssueBridge] Be consistent in avoiding is_null
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
d5085a4116
commit
f4b46e497e
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class GithubIssueBridge extends BridgeAbstract {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getURI(){
|
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') . '/'
|
$uri = static::URI . $this->getInput('u') . '/'
|
||||||
. $this->getInput('p') . '/issues';
|
. $this->getInput('p') . '/issues';
|
||||||
if($this->queriedContext === 'Issue comments') {
|
if($this->queriedContext === 'Issue comments') {
|
||||||
|
|
Loading…
Reference in a new issue