check(); } /** * @return array */ public function rules() { // fixed return [ 'password' => 'required', ]; } }