Passed
Branch master (e63765)
by Cyril
03:33
created
lib/ApaiIO/ResponseTransformer/ObjectToItem.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -97,6 +97,7 @@  discard block
 block discarded – undo
97 97
      * @param type $key1
98 98
      * @param type $key2
99 99
      * @param type $key3
100
+     * @param string $key4
100 101
      */
101 102
     protected function set($data, $key1, $key2 = NULL, $key3 = NULL, $key4 = NULL)
102 103
     {
@@ -130,6 +131,11 @@  discard block
 block discarded – undo
130 131
         }
131 132
     }
132 133
 
134
+    /**
135
+     * @param string $data
136
+     * @param string $key1
137
+     * @param string $key2
138
+     */
133 139
     protected function set_array($data, $key1, $key2 = NULL, $key3 = NULL)
134 140
     {
135 141
         $this->set( $data, $key1, $key2, $key3 );
Please login to merge, or discard this patch.
lib/ApaiIO/ResponseTransformer/ObjectToItems.php 1 patch
Doc Comments   +14 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,6 +118,12 @@  discard block
 block discarded – undo
118 118
 		}
119 119
 	}
120 120
 	
121
+    /**
122
+     * @param integer $i
123
+     * @param string $data
124
+     * @param string $key1
125
+     * @param string $key2
126
+     */
121 127
     protected function set_array($i, $data, $key1, $key2=NULL, $key3=NULL)
122 128
     {
123 129
         $this->set($i, $data, $key1, $key2, $key3);
@@ -127,6 +133,9 @@  discard block
 block discarded – undo
127 133
         }
128 134
     }
129 135
 
136
+    /**
137
+     * @param integer $i
138
+     */
130 139
     private function get_price($i)
131 140
     {
132 141
         $list_price = isset( $this->items[$i]['ItemAttributes']['ListPrice']['Amount'] ) ? $this->items[$i]['ItemAttributes']['ListPrice']['Amount'] : NULL;
@@ -138,7 +147,7 @@  discard block
 block discarded – undo
138 147
 
139 148
     /**
140 149
      *
141
-     * @param type $i
150
+     * @param integer $i
142 151
      */
143 152
     private function get_description($i)
144 153
     {
@@ -151,6 +160,7 @@  discard block
 block discarded – undo
151 160
 
152 161
     /**
153 162
 	 * 
163
+	 * @param integer $i
154 164
 	 */
155 165
 	private function get_image_sets($i)
156 166
 	{
@@ -177,6 +187,9 @@  discard block
 block discarded – undo
177 187
 		}
178 188
 	}
179 189
 
190
+    /**
191
+     * @param integer $i
192
+     */
180 193
     private function get_category($i)
181 194
     {
182 195
         if( isset($this->items[$i]['BrowseNodes']['BrowseNode'])
Please login to merge, or discard this patch.