Completed
Push — add-present-price-validation ( 541f24...a8696e )
by Evstati
08:17
created
classes/Kohana/Jam/Errors.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.