@@ -714,7 +714,7 @@ public function chunk(array $conditions = [], array $params = [], int $size = 0,
714714 /**
715715 * This method queries your database to find first related object
716716 * Ex.: find('postID = :postID AND isActive = :isActive', [':postID'=>10, ':isActive'=>1]);
717- * Ex.: find(['condition'=>'postID = :postID AND isActive = :isActive', 'order|orderBy'=>'id DESC'], 'params'=> [':postID'=>10, ':isActive'=>1]);
717+ * Ex.: find(['condition'=>'postID = :postID AND isActive = :isActive', 'order|orderBy'=>'id DESC'], [':postID'=>10, ':isActive'=>1]);
718718 *
719719 * @param mixed $conditions
720720 * @param array $params
@@ -773,7 +773,7 @@ public function find($conditions = '', $params = [], $cacheId = false)
773773 /**
774774 * This method queries your database to find related objects by PK
775775 * Ex.: findByPk($pk, 'postID = :postID AND isActive = :isActive', array(':postID'=>10, ':isActive'=>1));
776- * Ex.: findByPk($pk, array('condition'=>'postID = :postID AND isActive = :isActive', 'order|orderBy'=>'id DESC'), 'params'=> array(':postID'=>10, ':isActive'=>1));
776+ * Ex.: findByPk($pk, array('condition'=>'postID = :postID AND isActive = :isActive', 'order|orderBy'=>'id DESC'), array(':postID'=>10, ':isActive'=>1));
777777 *
778778 * @param string $pk
779779 * @param mixed $conditions
@@ -832,7 +832,7 @@ public function findByPk($pk, $conditions = '', $params = [], $cacheId = false)
832832 /**
833833 * This method queries your database to find related objects by attributes
834834 * Ex.: findByAttributes($attributes, 'postID = :postID AND isActive = :isActive', array(':postID'=>10, ':isActive'=>1));
835- * Ex.: findByAttributes($attributes, array('condition'=>'postID = :postID AND isActive = :isActive', 'order|orderBy'=>'id DESC', 'limit'=>'0, 10'), 'params'=> array(':postID'=>10, ':isActive'=>1));
835+ * Ex.: findByAttributes($attributes, array('condition'=>'postID = :postID AND isActive = :isActive', 'order|orderBy'=>'id DESC', 'limit'=>'0, 10'), array(':postID'=>10, ':isActive'=>1));
836836 * Ex.: $attributes = array('first_name'=>$firstName, 'last_name'=>$lastName);
837837 *
838838 * @param array $attributes
0 commit comments