0

I got a problem with autocompletion in phpstorm.

The problem is due to __construct() special treatment. how to prevent this special treatment? In my case my variables types are set with @property. In __construct i set the variables but in the way it's impossible for phpstorm to determine it's type.

This __construct special treatment overrides @property statement - how to turn it off?.

1
  • Was my answer the correct answer, or did you resolve the issue you had? Thanks! Commented Aug 1, 2012 at 14:11

1 Answer 1

2

As I found out in a question I asked, @property is actually just for magic properties, and the @var keyword is supposed to document your class properties.

Source: ashnazg's Answer to my similar question

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.