Completed
Push — master ( 953e7a...fb9bcc )
by Cyril
01:46
created
src/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.
src/ApaiIO/ResponseTransformer/ObjectToItems.php 1 patch
Doc Comments   +14 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,6 +119,12 @@  discard block
 block discarded – undo
119 119
 		}
120 120
 	}
121 121
 
122
+    /**
123
+     * @param integer $i
124
+     * @param string $data
125
+     * @param string $key1
126
+     * @param string $key2
127
+     */
122 128
     protected function set_array($i, $data, $key1, $key2=NULL, $key3=NULL)
123 129
     {
124 130
         $this->set($i, $data, $key1, $key2, $key3);
@@ -128,6 +134,9 @@  discard block
 block discarded – undo
128 134
         }
129 135
     }
130 136
 
137
+    /**
138
+     * @param integer $i
139
+     */
131 140
     private function get_price($i)
132 141
     {
133 142
         $list_price = isset( $this->items[$i]['ItemAttributes']['ListPrice']['Amount'] ) ? $this->items[$i]['ItemAttributes']['ListPrice']['Amount'] : NULL;
@@ -139,7 +148,7 @@  discard block
 block discarded – undo
139 148
 
140 149
     /**
141 150
      *
142
-     * @param type $i
151
+     * @param integer $i
143 152
      */
144 153
     private function get_description($i)
145 154
     {
@@ -152,6 +161,7 @@  discard block
 block discarded – undo
152 161
 
153 162
     /**
154 163
 	 *
164
+	 * @param integer $i
155 165
 	 */
156 166
 	private function get_image_sets($i)
157 167
 	{
@@ -178,6 +188,9 @@  discard block
 block discarded – undo
178 188
 		}
179 189
 	}
180 190
 
191
+    /**
192
+     * @param integer $i
193
+     */
181 194
     private function get_category($i)
182 195
     {
183 196
         if( isset($this->items[$i]['BrowseNodes']['BrowseNode'])
Please login to merge, or discard this patch.