diff --git a/flextype/Images.php b/flextype/Images.php index bc6b3d27..6db7ae6d 100644 --- a/flextype/Images.php +++ b/flextype/Images.php @@ -121,13 +121,14 @@ class Images * Get image * * Images::get('page-name/image.jpg', [w => '200']); + * http://glide.thephpleague.com/1.0/api/quick-reference/ * * @access public * @param string $path Image path * @param array $params Image params * @return string Returns the image url */ - public static function get($path, $params) + public static function get($path, array $params) { return Http::getBaseUrl().'/site/cache/glide/'.Images::$server->makeImage($path, $params); }