From 4db7c49a5afce91ba63bae03db389baa3794b547 Mon Sep 17 00:00:00 2001 From: xamgore <xamgore@ya.ru> Date: Wed, 11 Mar 2015 17:49:05 +0300 Subject: [PATCH] The variable type is defined --- .../application/classes/Controller/Handler/AdmStudents.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/~dev_rating/application/classes/Controller/Handler/AdmStudents.php b/~dev_rating/application/classes/Controller/Handler/AdmStudents.php index cca77ece2..9fa1b32f6 100644 --- a/~dev_rating/application/classes/Controller/Handler/AdmStudents.php +++ b/~dev_rating/application/classes/Controller/Handler/AdmStudents.php @@ -9,6 +9,9 @@ class SortingOptions { //extends SplEnum { } class Controller_Handler_AdmStudents extends Controller_Handler { + + /** @var Model_Students */ + protected $model; public function before() { $this->model = new Model_Students(); @@ -75,7 +78,7 @@ class Controller_Handler_AdmStudents extends Controller_Handler { public function action_uploadStudentFile() { - $this->model->getStudentFile(); + $this->model->getStudentFile(); # fixme, function doesn't exist } -- GitLab