We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad5b9fc commit bfd6f40Copy full SHA for bfd6f40
1 file changed
src/AbstractTask.php
@@ -43,8 +43,8 @@ protected function getClient()
43
{
44
// If no client has been set previously, default to a client without an
45
// access token. This is useful for accessing public repositories.
46
- if (self::$client === NULL) {
47
- $this->setClient(Service::factory([]));
+ if (is_null(self::$client)) {
+ $this->setClient(Service::factory([]));
48
}
49
return self::$client;
50
0 commit comments