Skip to content

Commit cdc07b2

Browse files
authored
Update ClientRepository.php
1 parent 6477d6f commit cdc07b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClientRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function revoked($id)
176176
{
177177
$client = Client::find($id);
178178

179-
return $client === null || $client->revoked;
179+
return is_null($client) || $client->revoked;
180180
}
181181

182182
/**

0 commit comments

Comments
 (0)