Skip to content

Commit

Permalink
no need for final
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyrot committed Feb 7, 2015
1 parent b725e1f commit f15698c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base.php
Expand Up @@ -21,17 +21,17 @@
*/
trait base
{
final public function add_value($var, $value)
public function add_value($var, $value)
{
$this->$var += $value;
}

final public function get_value($var)
public function get_value($var)
{
return $this->$var;
}

final public function set_value($var, $value)
public function set_value($var, $value)
{
$this->$var = $value;
}
Expand Down

0 comments on commit f15698c

Please sign in to comment.