Commit 33a00ecd by Carsten Brandt

updated base AR phpdoc for findOne() and findAll()

parent 8881c0c6
...@@ -93,6 +93,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface ...@@ -93,6 +93,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
/** /**
* @inheritdoc * @inheritdoc
* @return static ActiveRecord instance matching the condition, or null if nothing matches.
*/ */
public static function findOne($condition) public static function findOne($condition)
{ {
...@@ -113,6 +114,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface ...@@ -113,6 +114,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
/** /**
* @inheritdoc * @inheritdoc
* @return static[]|array an array of ActiveRecord instance, or an empty array if nothing matches.
*/ */
public static function findAll($condition) public static function findAll($condition)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment