/**
* Checks whether this node accepts announcements
*
- * @return $acceptsAnnouncements Whether this node accepts announcements
+ * @return $acceptAnnouncements Whether this node accepts announcements
*/
public final function isAcceptingAnnouncements () {
// Check it (this node must be active and not shutdown!)
- $acceptsAnnouncements = (($this->acceptsAnnouncements === true) && ($this->isNodeActive()));
+ $acceptAnnouncements = (($this->acceptAnnouncements === true) && ($this->isNodeActive()));
// Return it
- return $acceptsAnnouncements;
+ return $acceptAnnouncements;
}
/**
* Enables whether this node accepts announcements
*
- * @param $acceptsAnnouncements Whether this node accepts announcements (default: true)
+ * @param $acceptAnnouncements Whether this node accepts announcements (default: true)
* @return void
*/
- protected final function enableAcceptingAnnouncements ($acceptsAnnouncements = true) {
- $this->acceptAnnouncements = $acceptsAnnouncements;
+ protected final function enableAcceptingAnnouncements ($acceptAnnouncements = true) {
+ $this->acceptAnnouncements = $acceptAnnouncements;
}