Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Using correct empty method
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Clifford committed Aug 21, 2020
1 parent 6b3fdaa commit 4b8fbbf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Fastly/Types/FastlyCertificates.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Fastly\Request\FastlyRequest;
use GuzzleHttp\Exception\RequestException;
use function PHPUnit\Framework\isEmpty;

class FastlyCertificates extends FastlyRequest
{
Expand Down Expand Up @@ -56,7 +55,7 @@ public function get_tls_certificates($filter = [])
}

$certificates = [];
if (!isEmpty($certificates_response)) {
if (!empty($certificates_response)) {
$output = $this->build_output($certificates_response);
$this->data = $output['data'];
$this->meta = $output['meta'];
Expand Down

0 comments on commit 4b8fbbf

Please sign in to comment.