diff --git a/.phpcs.xml b/.phpcs.xml index 61b3ed3..eddb6dc 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,8 +1,6 @@ - - - + . diff --git a/includes/PdfHandler.php b/includes/PdfHandler.php index 7c01449..bfb4ca2 100644 --- a/includes/PdfHandler.php +++ b/includes/PdfHandler.php @@ -385,6 +385,10 @@ class PdfHandler extends ImageHandler { return false; } + /** + * @param File $file + * @return bool|mixed + */ protected function getDimensionInfo( File $file ) { $info = $file->getHandlerState( self::STATE_DIMENSION_INFO ); if ( !$info ) {