File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/MediaGalleryUi
Controller/Adminhtml/Directories Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public function __construct(
59
59
public function execute ()
60
60
{
61
61
try {
62
- $ responseContent [] = $ this ->folderTree ->buildTree ();
62
+ $ responseContent [] = $ this ->folderTree ->execute ();
63
63
$ responseCode = self ::HTTP_OK ;
64
64
} catch (\Exception $ exception ) {
65
65
$ this ->logger ->critical ($ exception );
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function __construct(
56
56
* @return array
57
57
* @throws ValidatorException
58
58
*/
59
- public function buildTree (bool $ skipRoot = true ): array
59
+ public function execute (bool $ skipRoot = true ): array
60
60
{
61
61
return $ this ->buildFolderTree ($ this ->getDirectories (), $ skipRoot );
62
62
}
You can’t perform that action at this time.
0 commit comments