Esempio n. 1
0
 /**
  * Tests if the given <b>$node</b> is a method and if this method is also
  * the initial declaration.
  *
  * @param PHP_PMD_AbstractNode $node The context method or a function instance.
  *
  * @return boolean
  * @since 1.2.1
  */
 private function _isNotDeclaration(PHP_PMD_AbstractNode $node)
 {
     if ($node instanceof PHP_PMD_Node_Method) {
         return !$node->isDeclaration();
     }
     return false;
 }