Answers.Body: <p>The bad news is it's been a bug in PHPStorm since 9.0.1.</p>
  
  <p>The good news is it's been fixed in the PHPStorm 11 <a href="https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program" rel="nofollow">EAP</a> and will be in the 11 final release.</p>
  
  <p><a href="https://youtrack.jetbrains.com/issue/WI-28394" rel="nofollow">https://youtrack.jetbrains.com/issue/WI-28394</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-29T00:16:24.480Z
Answers.Text: Interesting... Although those declarations have been removed either way, so where would the new hinting come from?
Answers.UserDisplayName: Marty
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-29T00:17:52.750Z
Answers.Text: They haven't been removed from Craft itself: https://github.com/pixelandtonic/Craft-Release/blob/master/app/etc/web/WebApp.php#L5
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-29T00:18:43.600Z
Answers.Text: Ahh, the old `WebApp` class, of course.
Answers.UserDisplayName: Marty
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-29T00:10:55.153Z
Answers.LastActivityDate: 2016-01-29T00:10:55.153Z
Answers.UserDisplayName: Brad Bell
Body: <p>I've noticed in a recent (not sure which exactly) version of Craft that the <code>@property-read</code> declarations for each of the inbuilt services have been dropped from <code>/craft/app/Craft.php</code>.</p>
  
  <p>This means in PHP Storm, I no longer receive valuable code hints following a <code>craft()-&gt;</code> statement:</p>
  
  <p><a href="https://i.sstatic.net/5cs6X.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/5cs6X.png" alt="enter image description here"></a></p>
  
  <p>Is there a new way to access these hints in the recent version? Maybe I've missed something and accessing services via <code>craft()</code> is no longer the preferred method?</p>
  
Tags: <plugin-development><documentation>
Title: Where did the @property delcarations for the inbuilt services go?
ThreadText: # Where did the @property delcarations for the inbuilt services go?
  
  (Asked by: username_0 on 2016-01-29)
  
  I've noticed in a recent (not sure which exactly) version of Craft that the `@property-read` declarations for each of the inbuilt services have been dropped from `/craft/app/Craft.php`.
  
  This means in PHP Storm, I no longer receive valuable code hints following a `craft()->` statement:
  
  [![enter image description here](https://i.sstatic.net/5cs6X.png)](https://i.sstatic.net/5cs6X.png)
  
  Is there a new way to access these hints in the recent version? Maybe I've missed something and accessing services via `craft()` is no longer the preferred method?
  
  **Tags:** plugin-development, documentation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-01-29. Score: 3 | Accepted answer
  
  The bad news is it's been a bug in PHPStorm since 9.0.1.
  
  The good news is it's been fixed in the PHPStorm 11 [EAP](https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program) and will be in the 11 final release.
  
  <https://youtrack.jetbrains.com/issue/WI-28394>
  
  > **Comments:**
  > **username_0**: Interesting... Although those declarations have been removed either way, so where would the new hinting come from?  
  > **username_1**: They haven't been removed from Craft itself: https://github.com/pixelandtonic/Craft-Release/blob/master/app/etc/web/WebApp.php#L5  
  > **username_0**: Ahh, the old `WebApp` class, of course.  
  
  ---
  
  