Add type hint to getPageDimensions()

Change-Id: I2eecc73f3274f684ef8c426cb4ca5b3785284368
This commit is contained in:
Aaron Schulz 2015-10-27 12:39:11 -07:00
parent 687d759d1b
commit 04301cc798

View file

@ -375,7 +375,7 @@ class PdfHandler extends ImageHandler {
* @param $page int * @param $page int
* @return array|bool * @return array|bool
*/ */
function getPageDimensions( $image, $page ) { function getPageDimensions( File $image, $page ) {
$data = $this->getMetaArray( $image ); $data = $this->getMetaArray( $image );
return PdfImage::getPageSize( $data, $page ); return PdfImage::getPageSize( $data, $page );
} }