title: How to add documentation for my functions in Netbeans PHP?
body: <p>I tried the following,</p>
  
  <pre><code>/*
   * addRelationship
   *
   * Adds a relationship between two entities using the given relation type.
   *
   * @param fromKey the original entity
   * @param toKey the referring entity
   * @param relationTypeDesc the type of relationship
   */
  
  function addRelationship($fromKey, $toKey, $relationTypeDesc) {
      $relationTypeKey = $this-&gt;getRelationTypeKey($relationTypeDesc);
  </code></pre>
  
  <p>But, when I tried to use it in another place, it says PHPDoc not found.</p>
  
  <p><img src="https://i.stack.imgur.com/nrhBe.png" alt="alt text"></p>
  
  <p><strong>Any Ideas on how to get this to work in NetBeans PHP?</strong></p>
  
  <p><strong>UPDATE :</strong></p>
  
  <p>The following is the updated syntax which will work in NetBeans PHP - </p>
  
  <pre><code>/** 
   * addRelationship
   *
   * Adds a relationship between two entities using the given relation type.
   *
   * @param integer $fromKey the original entity
   * @param integet $toKey the referring entity
   * @param string $relationTypeDesc the type of relationship
   */
  
  function addRelationship($fromKey, $toKey, $relationTypeDesc) {
  </code></pre>