grom358 / pharborist

A PHP library to query and transform source code via tree operations.
GNU General Public License v3.0
44 stars 10 forks source link

Missing return statement in ClassMemberNode->getVisibility() #185

Closed pako-pl closed 10 years ago

pako-pl commented 10 years ago

Please add "return" to the following method:

/**
   * @see \Pharborist\VisibilityTrait::getVisibility()
   *
   * @return \Pharborist\TokenNode
   */
  public function getVisibility() {
    $this->getClassMemberListNode()->getVisibility();
  }
grom358 commented 10 years ago

Fixed