mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	improved IDE autocompletion for AR::find()
[ci skip]
This commit is contained in:
		@ -70,6 +70,7 @@ class ActiveRecord extends BaseActiveRecord
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @inheritdoc
 | 
					     * @inheritdoc
 | 
				
			||||||
 | 
					     * @return ActiveQuery the newly created [[ActiveQuery]] instance.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public static function find()
 | 
					    public static function find()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
@ -94,6 +94,7 @@ abstract class ActiveRecord extends BaseActiveRecord
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @inheritdoc
 | 
					     * @inheritdoc
 | 
				
			||||||
 | 
					     * @return ActiveQuery the newly created [[ActiveQuery]] instance.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public static function find()
 | 
					    public static function find()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
@ -47,6 +47,7 @@ abstract class ActiveRecord extends \yii\mongodb\ActiveRecord
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @inheritdoc
 | 
					     * @inheritdoc
 | 
				
			||||||
 | 
					     * @return ActiveQuery the newly created [[ActiveQuery]] instance.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public static function find()
 | 
					    public static function find()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
@ -51,6 +51,7 @@ class ActiveRecord extends BaseActiveRecord
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @inheritdoc
 | 
					     * @inheritdoc
 | 
				
			||||||
 | 
					     * @return ActiveQuery the newly created [[ActiveQuery]] instance.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public static function find()
 | 
					    public static function find()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
@ -138,6 +138,7 @@ abstract class ActiveRecord extends BaseActiveRecord
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @inheritdoc
 | 
					     * @inheritdoc
 | 
				
			||||||
 | 
					     * @return ActiveQuery the newly created [[ActiveQuery]] instance.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public static function find()
 | 
					    public static function find()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
@ -256,6 +256,7 @@ class ActiveRecord extends BaseActiveRecord
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @inheritdoc
 | 
					     * @inheritdoc
 | 
				
			||||||
 | 
					     * @return ActiveQuery the newly created [[ActiveQuery]] instance.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public static function find()
 | 
					    public static function find()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user