From adbf97a527ab754deaed08ba8d6b2300695f738d Mon Sep 17 00:00:00 2001 From: Diana Neculai Date: Thu, 15 Sep 2016 13:16:27 +0300 Subject: [PATCH] Rename method getList to list. --- lib/image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/image.php b/lib/image.php index da00285..662edad 100644 --- a/lib/image.php +++ b/lib/image.php @@ -59,7 +59,7 @@ public static function delete($src) { * - on success : [{url: 'url', thumb: 'thumb', name: 'name'}, ...] * - on error : {error: 'error message'} */ - public static function getList($folderPath, $thumbPath = null) { + public static function list($folderPath, $thumbPath = null) { if (empty($thumbPath)) { $thumbPath = $folderPath; @@ -108,4 +108,4 @@ public static function getList($folderPath, $thumbPath = null) { } class_alias('FroalaEditor\Image', 'FroalaEditor_Image'); -?> \ No newline at end of file +?>