From 9f4a74c456ad6e43910fe619166700eeb1cae77c Mon Sep 17 00:00:00 2001 From: lucas Date: Thu, 21 Sep 2017 09:47:32 -0300 Subject: [PATCH] Adding phpDoc to findFirstById --- Model.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Model.php b/Model.php index a445025..6e864b5 100644 --- a/Model.php +++ b/Model.php @@ -8,6 +8,12 @@ class Model extends PhalconModel { + /** @return static */ + public static function findFirstById($id) + { + return parent::findFirstById($id); + } + public function columnMap() { $columnMap = []; @@ -72,4 +78,4 @@ private function getNumeration($slug) return $slug; } -} \ No newline at end of file +}