浏览代码

Fix font icon parsing.

mscherer 5 年之前
父节点
当前提交
6895e4f5f6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/IdeHelper/Generator/Task/FormatIconTask.php

+ 1 - 0
src/IdeHelper/Generator/Task/FormatIconTask.php

@@ -41,6 +41,7 @@ class FormatIconTask implements TaskInterface {
 	protected function collectIcons() {
 		$helper = new FormatHelper(new View());
 		$configured = $helper->getConfig('fontIcons');
+		$configured = array_keys($configured);
 
 		$fontFile = Configure::readOrFail('Format.fontPath');
 		$icons = [];