From ab939d774d070cfdd7aa124dc099d0f2227c0712 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Mon, 28 Sep 2015 21:16:26 +0300 Subject: [PATCH] remove useless function definitions --- generators/model/default/query.php | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/generators/model/default/query.php b/generators/model/default/query.php index 6270e081c..47ced1a7d 100644 --- a/generators/model/default/query.php +++ b/generators/model/default/query.php @@ -22,6 +22,9 @@ * This is the ActiveQuery class for [[]]. * * @see + * + * @method []|array all($db = null) + * @method |array|null one($db = null) */ class extends queryBaseClass, '\\') . "\n" ?> { @@ -31,21 +34,4 @@ class extends queryBaseClass, '\\ return $this; }*/ - /** - * @inheritdoc - * @return []|array - */ - public function all($db = null) - { - return parent::all($db); - } - - /** - * @inheritdoc - * @return |array|null - */ - public function one($db = null) - { - return parent::one($db); - } -} \ No newline at end of file +}