From df5cc1e2a1bed2391a29a4aba4ce332f5efda8ce Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 4 Jan 2019 12:10:19 +0300 Subject: [PATCH] Flextype Core: Glide/Intervention Image Implementation #61 --- flextype/Images.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }