From 04301cc798c600b304a7ce94d9720fcc7eceed8f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 27 Oct 2015 12:39:11 -0700 Subject: [PATCH] Add type hint to getPageDimensions() Change-Id: I2eecc73f3274f684ef8c426cb4ca5b3785284368 --- PdfHandler_body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PdfHandler_body.php b/PdfHandler_body.php index 7cb9a51..70db1fa 100644 --- a/PdfHandler_body.php +++ b/PdfHandler_body.php @@ -375,7 +375,7 @@ class PdfHandler extends ImageHandler { * @param $page int * @return array|bool */ - function getPageDimensions( $image, $page ) { + function getPageDimensions( File $image, $page ) { $data = $this->getMetaArray( $image ); return PdfImage::getPageSize( $data, $page ); }