From f0996169673553fcb9db42ef1321562c00bb8159 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Tue, 12 Aug 2014 23:21:15 +0200 Subject: [PATCH] improved IDE autocompletion for AR::find() [ci skip] --- extensions/elasticsearch/ActiveRecord.php | 1 + extensions/mongodb/ActiveRecord.php | 1 + extensions/mongodb/file/ActiveRecord.php | 1 + extensions/redis/ActiveRecord.php | 1 + extensions/sphinx/ActiveRecord.php | 1 + framework/db/ActiveRecord.php | 1 + 6 files changed, 6 insertions(+) diff --git a/extensions/elasticsearch/ActiveRecord.php b/extensions/elasticsearch/ActiveRecord.php index 4f2497f0e3..3ae8485db1 100644 --- a/extensions/elasticsearch/ActiveRecord.php +++ b/extensions/elasticsearch/ActiveRecord.php @@ -70,6 +70,7 @@ class ActiveRecord extends BaseActiveRecord /** * @inheritdoc + * @return ActiveQuery the newly created [[ActiveQuery]] instance. */ public static function find() { diff --git a/extensions/mongodb/ActiveRecord.php b/extensions/mongodb/ActiveRecord.php index 7b5653b86b..a44519eb42 100644 --- a/extensions/mongodb/ActiveRecord.php +++ b/extensions/mongodb/ActiveRecord.php @@ -94,6 +94,7 @@ abstract class ActiveRecord extends BaseActiveRecord /** * @inheritdoc + * @return ActiveQuery the newly created [[ActiveQuery]] instance. */ public static function find() { diff --git a/extensions/mongodb/file/ActiveRecord.php b/extensions/mongodb/file/ActiveRecord.php index 1598b077c0..5387efd756 100644 --- a/extensions/mongodb/file/ActiveRecord.php +++ b/extensions/mongodb/file/ActiveRecord.php @@ -47,6 +47,7 @@ abstract class ActiveRecord extends \yii\mongodb\ActiveRecord { /** * @inheritdoc + * @return ActiveQuery the newly created [[ActiveQuery]] instance. */ public static function find() { diff --git a/extensions/redis/ActiveRecord.php b/extensions/redis/ActiveRecord.php index 6993126b9d..fb02eb86ed 100644 --- a/extensions/redis/ActiveRecord.php +++ b/extensions/redis/ActiveRecord.php @@ -51,6 +51,7 @@ class ActiveRecord extends BaseActiveRecord /** * @inheritdoc + * @return ActiveQuery the newly created [[ActiveQuery]] instance. */ public static function find() { diff --git a/extensions/sphinx/ActiveRecord.php b/extensions/sphinx/ActiveRecord.php index ce8a9de981..049a41a5ba 100644 --- a/extensions/sphinx/ActiveRecord.php +++ b/extensions/sphinx/ActiveRecord.php @@ -138,6 +138,7 @@ abstract class ActiveRecord extends BaseActiveRecord /** * @inheritdoc + * @return ActiveQuery the newly created [[ActiveQuery]] instance. */ public static function find() { diff --git a/framework/db/ActiveRecord.php b/framework/db/ActiveRecord.php index 75e87abfe9..a59a89c797 100644 --- a/framework/db/ActiveRecord.php +++ b/framework/db/ActiveRecord.php @@ -256,6 +256,7 @@ class ActiveRecord extends BaseActiveRecord /** * @inheritdoc + * @return ActiveQuery the newly created [[ActiveQuery]] instance. */ public static function find() {