Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filed with name object #68

Closed
Ezyt opened this issue Mar 28, 2017 · 4 comments
Closed

filed with name object #68

Ezyt opened this issue Mar 28, 2017 · 4 comments

Comments

@Ezyt
Copy link

Ezyt commented Mar 28, 2017

Hello, I have a problem in ActiveRecord class. My class has property 'object'. if i used $config in construct and put key 'object' there, i would have an error: "Field 'object' not exists in referenced class %className% ". For example
image

@insperedia
Copy link
Collaborator

insperedia commented Mar 28, 2017

I tried to get same problem. The problem is not connected with name 'object'.
IDE does not update class definition from PhpDoc right away.
Please check when such error exists if IDE do code completion for class fields, e.g. $this->(here should be missing field).

@insperedia
Copy link
Collaborator

Put this screenshot for myself
image

@Ezyt
Copy link
Author

Ezyt commented Mar 29, 2017

PhpStorm 2017.1
Build #PS-171.3780.104, built on March 21, 2017
JRE: 1.8.0_112-release-736-b13 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

@insperedia
Copy link
Collaborator

Thanks.
This is known PhpStorm bug.
https://youtrack.jetbrains.com/issue/WI-23988
Vote for this bug to make progress faster.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants