我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PhpStorm 7 @method bug或者我错误地使用了phpDocumentor注释?

I don't know if this is my bad (wrong phpDocumentor annotations) or it's a bug. Anyone experiencing this issue?

namespace Bar\Baz;

/**
 * @method Foo baz(boolean $baz)
 */
class Foo
{

}

As you can see there is no code completion for chaining (i.e. $f->baz()->baz()) and boolean type is namespaced:

Problem 1Problem 2

This is a known issue in PhpStorm 7.x.

If you use the fully qualified name chaining and type hinting will work.

Reference: http://youtrack.jetbrains.com/issue/WI-17404

近期文章

  • 有关web中的一个问题
  • 关于#算法#的问题,如何解决?
  • skip-gram模型
  • 编辑实现输出矩阵上下三角的数值
  • 双链表两个头结点初始化,非循环链表
  • web中有关会话管理的问题
  • 弄了证书认证后,pycharm远程连接提示EOF while reading packet
  • 在windows里的cmd窗口输入automation.py -h,却总是打开automation.h
  • python数字频率统计
  • 关于#c语言#的问题:为什么我的圆球的体积算的总是10.06
  • 需要帮助来使用对象代码修复我的创建多维数组
  • pySpark 环境 notebook,假如spark有错误,整个cell的print都不会打印了,咋办
  • else应输入一个语句
  • 电脑硬件配置升级,需要做剪辑使用
  • hadoop jar 运行
  • 子网划分 合理规划IP地址
  • hive数据类型转换没有生效
  • 请根据要求配置相应计算机的IP地址和子网掩码
  • __auto_type报错
  • web冒泡排序算法怎么理解

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华