From 60f95bcf3455d3ef5eb9bd2560a9f9bbbce66431 Mon Sep 17 00:00:00 2001 From: spacedmonkey Date: Fri, 12 Jun 2020 19:08:44 +0100 Subject: [PATCH] Fix lints. --- php/class-import.php | 1 + 1 file changed, 1 insertion(+) diff --git a/php/class-import.php b/php/class-import.php index acd124ad..bbfbac82 100755 --- a/php/class-import.php +++ b/php/class-import.php @@ -130,6 +130,7 @@ public function import_image() { $file = $this->image->get_image_url( 'full' ); $tmp = download_url( $file ); // If there was an error downloading, return the error. + // @codeCoverageIgnoreStart if ( is_wp_error( $tmp ) ) { return $tmp;