Skip to content

Commit bfd6f40

Browse files
author
Frederic Dewinne
committed
fix style issue
1 parent ad5b9fc commit bfd6f40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/AbstractTask.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ protected function getClient()
4343
{
4444
// If no client has been set previously, default to a client without an
4545
// access token. This is useful for accessing public repositories.
46-
if (self::$client === NULL) {
47-
$this->setClient(Service::factory([]));
46+
if (is_null(self::$client)) {
47+
$this->setClient(Service::factory([]));
4848
}
4949
return self::$client;
5050
}

0 commit comments

Comments
 (0)