Ver Fonte

phpstorm更好的支持

如果传入$label参数闭包函数中的内容在ide的显示不会有高亮显示,其他地方应该也会出现这种情况
Jonathan.Liu há 3 anos atrás
pai
commit
b91bd634ae
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Widgets/Form.php

+ 1 - 1
src/Widgets/Form.php

@@ -64,7 +64,7 @@ use Illuminate\Validation\Validator;
  * @method Field\Html html($html, $label = '')
  * @method Field\Tags tags($column, $label = '')
  * @method Field\Icon icon($column, $label = '')
- * @method Field\Embeds embeds($column, $label = '')
+ * @method Field\Embeds embeds($column, $label = '', $callback = null)
  * @method Field\Captcha captcha($column, $label = '')
  * @method Field\Listbox listbox($column, $label = '')
  * @method Field\File file($column, $label = '')