@@ -63,8 +63,7 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * Tracks a database result |
65 | 65 | * |
66 | - * @param mixed $result |
|
67 | - * @param mixed $model |
|
66 | + * @param Jam_Validated $model |
|
68 | 67 | */ |
69 | 68 | public function __construct(Jam_Validated $model, $error_filename) |
70 | 69 | { |
@@ -78,6 +77,9 @@ discard block |
||
78 | 77 | return $this->_container; |
79 | 78 | } |
80 | 79 | |
80 | + /** |
|
81 | + * @param string $error |
|
82 | + */ |
|
81 | 83 | public function add($attribute, $error, array $params = array()) |
82 | 84 | { |
83 | 85 | if ( ! isset($this->_container[$attribute])) |
@@ -90,6 +92,9 @@ discard block |
||
90 | 92 | return $this; |
91 | 93 | } |
92 | 94 | |
95 | + /** |
|
96 | + * @param string $attribute |
|
97 | + */ |
|
93 | 98 | public function messages($attribute = NULL) |
94 | 99 | { |
95 | 100 | $messages = array(); |