title: Variable type hinting in Netbeans and PHPStorm
body: <p>I work for a company where employees both use PHPStorm and Netbeans 8. This has always been working fine for us until we recently started added more type hinting to our code.</p>
  
  <p>In PHPStorm the correct way to use type hinting in your source like this</p>
  
  <pre><code>/** @var MyAwesomeClass $theObject */
  $theObject = $orm-&gt;getMyAwesomeObject();
  </code></pre>
  
  <p>Which makes sense because the correct way to document a function is</p>
  
  <pre><code>/**
   * @param MyAwesomeClass $awesomeObjectArgument
   * @param boolean $booleanArgumentsAreSilly
   */
  </code></pre>
  
  <p>But netbeans works like this</p>
  
  <pre><code>/** @var $theObject \Full\Freeking\Namespace\With\Leading\Backslash\MyAwesomeClass */
  </code></pre>
  
  <p>Which is an issue because the order of arguments (to the @var notation) is reversed, and Netbeans uses leading slashes which is not supported by PHPStorm.</p>
  
  <p>Does anybody know a way to configure either one of these IDE's to work with the same standard, because at the moment only half of our code has working autocompletion. To me the implementation in Netbeans seems unnecessarily and conflicting with the PHPDocs standard (based on the @param notation).</p>
  
  <p>UPDATE: I was wrong, PHPStorm is actually compatible with the Netbeans notation, but not the other way around. Meaning my problem is not completely fixed. I still need to find a way to configure both IDE's to generate docs that work in both.</p>