diff --git a/_posts/07-01-02-Interacting-via-Code.md b/_posts/07-01-02-Interacting-via-Code.md index 8b28079..9414247 100644 --- a/_posts/07-01-02-Interacting-via-Code.md +++ b/_posts/07-01-02-Interacting-via-Code.md @@ -26,7 +26,7 @@ Consider the most basic step: {% highlight php %} query('SELECT * FROM table'); } @@ -70,7 +70,7 @@ class Foo() $this->db = $db; } - public functon getAllFoos() { + public function getAllFoos() { return $this->db->query('SELECT * FROM table'); } }