Completed
Push — master ( 246d57...b6bf5d )
by Nikolay
04:34
created
classes/Kohana/Jam/Behavior/Paranoid.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	 * $builder->deleted(Jam_Behavior_Paranoid::DELETED),
88 88
 	 * $builder->deleted(Jam_Behavior_Paranoid::NORMAL)
89 89
 	 *
90
-	 * @param Jam_Builder    $builder
90
+	 * @param Database_Query    $builder
91 91
 	 * @param Jam_Event_Data $data
92 92
 	 * @param string         $paranoid_filter_type
93 93
 	 */
@@ -135,7 +135,6 @@  discard block
 block discarded – undo
135 135
 	 * $model->restore_delete() Perform this to "undelete" a model
136 136
 	 *
137 137
 	 * @param Jam_Model      $model
138
-	 * @param Jam_Event_Data $data
139 138
 	 */
140 139
 	public function model_call_restore_delete(Jam_Model $model)
141 140
 	{
Please login to merge, or discard this patch.
classes/Kohana/Jam/Behavior/Sluggable.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -36,8 +36,6 @@  discard block
 block discarded – undo
36 36
 	 *
37 37
 	 * It sets the fields used in generating the slug
38 38
 	 *
39
-	 * @param  Jam_Event $event the jam event for the behavior
40
-	 * @param  Jam_Model      $model The Jam_Model object on which the behavior is applies
41 39
 	 * @param  string      $name
42 40
 	 * @return void
43 41
 	 */
@@ -101,7 +99,7 @@  discard block
 block discarded – undo
101 99
 
102 100
 	/**
103 101
 	 * Getter for parameter
104
-	 * @return bool
102
+	 * @return string
105 103
 	 */
106 104
 	public function slug()
107 105
 	{
@@ -178,7 +176,7 @@  discard block
 block discarded – undo
178 176
 
179 177
 	/**
180 178
 	 * Generated a find_by_slug method for Jam_Builder
181
-	 * @param  Jam_Builder    $builder the builder object
179
+	 * @param  Jam_Query_Builder_Select    $builder the builder object
182 180
 	 * @param  string           $slug    the slug to search for
183 181
 	 * @param  Jam_Event_Data $data
184 182
 	 * @return void
@@ -197,7 +195,7 @@  discard block
 block discarded – undo
197 195
 
198 196
 	/**
199 197
 	 * Generated a find_by_slug method for Jam_Builder
200
-	 * @param  Jam_Builder    $builder the builder object
198
+	 * @param  Jam_Query_Builder_Select    $builder the builder object
201 199
 	 * @param  string           $slug    the slug to search for
202 200
 	 * @param  Jam_Event_Data $data
203 201
 	 * @return void
@@ -212,7 +210,7 @@  discard block
 block discarded – undo
212 210
 
213 211
 	/**
214 212
 	 * Generates a find_by_slug_insist method for Jam_Builder
215
-	 * @param  Jam_Builder    $builder the builder object
213
+	 * @param  Jam_Query_Builder_Select    $builder the builder object
216 214
 	 * @param  string           $slug    the slug to search for
217 215
 	 * @param  Jam_Event_Data $data
218 216
 	 * @return void
Please login to merge, or discard this patch.
classes/Kohana/Jam/Behavior/Sortable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 	/**
48 48
 	 * $select->order_by_position()
49 49
 	 *
50
-	 * @param Jam_Builder $builder
50
+	 * @param Database_Query_Builder $builder
51 51
 	 */
52 52
 	public function builder_call_order_by_position(Database_Query_Builder $builder, Jam_Event_Data $data, $direction = NULL)
53 53
 	{
Please login to merge, or discard this patch.
classes/Kohana/Jam/Countcache.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -29,11 +29,19 @@
 block discarded – undo
29 29
 		return $query->where(':primary_key', 'IN', (array) $ids);
30 30
 	}
31 31
 
32
+	/**
33
+	 * @param string $model
34
+	 * @param string $counter
35
+	 */
32 36
 	public static function increment($model, $counter, $id)
33 37
 	{
34 38
 		Jam_CountCache::update_counters($model, $id, array($counter => +1))->execute();
35 39
 	}
36 40
 
41
+	/**
42
+	 * @param string $model
43
+	 * @param string $counter
44
+	 */
37 45
 	public static function decrement($model, $counter, $id)
38 46
 	{
39 47
 		Jam_CountCache::update_counters($model, $id, array($counter => -1))->execute();
Please login to merge, or discard this patch.
classes/Kohana/Jam/Exception/Event.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@
 block discarded – undo
12 12
 
13 13
 	public $event;
14 14
 
15
+	/**
16
+	 * @param string $message
17
+	 * @param string $event
18
+	 */
15 19
 	function __construct($message, $event, $fields = NULL)
16 20
 	{
17 21
 		$fields[':event'] = $this->event = $event;
Please login to merge, or discard this patch.
classes/Kohana/Jam/Exception/Methodmissing.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 	public $args;
15 15
 	public $sender;
16 16
 
17
+	/**
18
+	 * @param string $method
19
+	 */
17 20
 	function __construct($sender, $method, array $args = NULL)
18 21
 	{
19 22
 		$this->args = $args;
Please login to merge, or discard this patch.
classes/Kohana/Jam/Exception/Notfound.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -13,6 +13,10 @@
 block discarded – undo
13 13
 
14 14
 	public $model;
15 15
 
16
+	/**
17
+	 * @param string $message
18
+	 * @param string|null $model
19
+	 */
16 20
 	function __construct($message, $model, $fields = NULL)
17 21
 	{
18 22
 		$fields[':model'] = $this->model = $model;
Please login to merge, or discard this patch.
classes/Kohana/Jam/Exception/Notloaded.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -13,6 +13,10 @@
 block discarded – undo
13 13
 
14 14
 	public $model;
15 15
 
16
+	/**
17
+	 * @param string $message
18
+	 * @param Kohana_Jam_Model $model
19
+	 */
16 20
 	function __construct($message, $model, $fields = NULL)
17 21
 	{
18 22
 		$fields[':model'] = $this->model = $model;
Please login to merge, or discard this patch.
classes/Kohana/Jam/Exception/Sluggable.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -14,6 +14,10 @@
 block discarded – undo
14 14
 	public $slug;
15 15
 	public $model;
16 16
 
17
+	/**
18
+	 * @param string $message
19
+	 * @param Jam_Model $model
20
+	 */
17 21
 	function __construct($message, $model, $slug = NULL, $fields = NULL)
18 22
 	{
19 23
 		$fields[':slug'] = $this->slug = $slug;
Please login to merge, or discard this patch.