diff --git a/models/person.php b/models/person.php index b3c7db9..017d8b7 100644 --- a/models/person.php +++ b/models/person.php @@ -17,7 +17,7 @@ class People { return $people; } - static function add($person){ + static function create($person){ $people = array(); $people[] = new Person('joni', 52); $people[] = new Person('bob', 34);