@@ -84,8 +84,8 @@ |
||
| 84 | 84 | |
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | - * @var array $validators Validation checks |
|
| 88 | - */ |
|
| 87 | + * @var array $validators Validation checks |
|
| 88 | + */ |
|
| 89 | 89 | public static $validators = []; |
| 90 | 90 | |
| 91 | 91 | /** |
@@ -64,11 +64,11 @@ |
||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * Same as getByContextObject but this method lets you specify the ContextClass manually. |
|
| 68 | - * |
|
| 69 | - * @param array $record An array of database rows. |
|
| 70 | - * @return static|null An array of instantiated ActiveRecord models from the provided data. |
|
| 71 | - */ |
|
| 67 | + * Same as getByContextObject but this method lets you specify the ContextClass manually. |
|
| 68 | + * |
|
| 69 | + * @param array $record An array of database rows. |
|
| 70 | + * @return static|null An array of instantiated ActiveRecord models from the provided data. |
|
| 71 | + */ |
|
| 72 | 72 | public static function getByContext($contextClass, $contextID, $options = []) |
| 73 | 73 | { |
| 74 | 74 | if (!static::fieldExists('ContextClass')) { |