Completed
Push — master ( 5d016e...a7f281 )
by
unknown
17:36
created
core/wpeo_model/controller/term_ctr.01.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,6 @@
 block discarded – undo
156 156
 	/**
157 157
 	 * Retourne une liste de taxinomies selon les paramètres donnés / Return a taxonomy list according to given parameters
158 158
 	 *
159
-	 * @param array $args_where Optionnal Les paramètres du filtre permettant de récupérer les taxinomies / Parameters allowing to retrieve taxonomies
160 159
 	 * @param boolean $cropped Optionnal Permet de choisir si il faut retourner la taxinomie complète ou uniquement les chamsp principaux / Allow to define if the taxonomy must be completly returned or just main fileds must be returned
161 160
 	 *
162 161
 	 * @return array La liste des taxinomies correspondantes aux paramètres / Taxonomies corresping to parameters
Please login to merge, or discard this patch.
includes/librairies/catalog/categories.class.php 1 patch
Doc Comments   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -117,10 +117,7 @@  discard block
 block discarded – undo
117 117
 	/**
118 118
 	*	Get the sub categories of a given category
119 119
 	*
120
-	*	@param integer $parent_category The main category we want to have the sub categories for
121
-	*	@param array $instance The current instance of the widget, allows to get the different selected parameters
122
-	*
123
-	* @return mixed $widget_content The widget content build from option
120
+	* @return string
124 121
 	*/
125 122
 	public static function category_tree_output($category_id = 0, $instance) {
126 123
 		global $category_has_sub_category;
@@ -285,7 +282,7 @@  discard block
 block discarded – undo
285 282
 	*	@param object $category The category definition
286 283
 	*	@param string $output_type The output type defined from plugin option
287 284
 	*
288
-	*	@return mixed $content Output the category list
285
+	*	@return string $content Output the category list
289 286
 	*/
290 287
 	public static function category_mini_output($category, $output_type = 'list'){
291 288
 		$content = '';
@@ -420,7 +417,6 @@  discard block
 block discarded – undo
420 417
 	 * @see wp_get_attachment_image_src
421 418
 	 * @param unknown_type $id
422 419
 	 * @param unknown_type $size
423
-	 * @param unknown_type $attr
424 420
 	 * @return (string or array)
425 421
 	 */
426 422
 	public static function get_the_category_thumbnail($id, $size = 'thumbnail', $icon = false) {
Please login to merge, or discard this patch.
includes/librairies/db/database.class.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -120,6 +120,7 @@  discard block
 block discarded – undo
120 120
 	*	Save a new attribute in database
121 121
 	*
122 122
 	*	@param array $informationsToSet An array with the different information we want to set
123
+	* @param string $dataBaseTable
123 124
 	*
124 125
 	*	@return string $requestResponse A message that allows to know if the creation has been done correctly or not
125 126
 	*/
@@ -141,6 +142,7 @@  discard block
 block discarded – undo
141 142
 	*	Update an existing attribute in database
142 143
 	*
143 144
 	*	@param array $informationsToSet An array with the different information we want to set
145
+	* @param string $dataBaseTable
144 146
 	*
145 147
 	*	@return string $requestResponse A message that allows to know if the update has been done correctly or not
146 148
 	*/
Please login to merge, or discard this patch.
includes/librairies/display/display.class.php 1 patch
Doc Comments   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -191,10 +191,10 @@  discard block
 block discarded – undo
191 191
 	 * Return a complete html table with header, body and content
192 192
 	 *
193 193
 	 *	@param string $tableId The unique identifier of the table in the document
194
-	 *	@param array $tableTitles An array with the different element to put into the table's header and footer
194
+	 *	@param string[] $tableTitles An array with the different element to put into the table's header and footer
195 195
 	 *	@param array $tableRows An array with the different value to put into the table's body
196
-	 *	@param array $tableClasses An array with the different class to affect to table rows and cols
197
-	 *	@param array $tableRowsId An array with the different identifier for table lines
196
+	 *	@param string[] $tableClasses An array with the different class to affect to table rows and cols
197
+	 *	@param string[] $tableRowsId An array with the different identifier for table lines
198 198
 	 *	@param string $tableSummary A summary for the table
199 199
 	 *	@param boolean $withFooter Allow to define if the table must be create with a footer or not
200 200
 	 *
@@ -274,6 +274,7 @@  discard block
 block discarded – undo
274 274
 	 *
275 275
 	 * @param string $file_name The file name to check if exists in current theme
276 276
 	 * @param string $dir_name Optionnal The directory name of the file to check Default : wpshop
277
+	 * @param string $default_dir
277 278
 	 *
278 279
 	 * @return string $file_path The good filepath to include
279 280
 	 */
@@ -299,7 +300,7 @@  discard block
 block discarded – undo
299 300
 	 * Check if the current shop use the first method for templates. One file per element to display
300 301
 	 *
301 302
 	 * @param string $template_part The part to take display for, will be usefull to check what file take in care if there were a file in old method
302
-	 * @param string $default_template_dirThe part of website to check template for. Possible values : wpshop / admin
303
+	 * @param string $default_template_dir part of website to check template for. Possible values : wpshop / admin
303 304
 	 *
304 305
 	 * @return array First index represent if there is a file for old version support, Second index represent the file to get for support old version
305 306
 	 */
@@ -546,6 +547,7 @@  discard block
 block discarded – undo
546 547
 	 * @param string $part The part of shop where to display the given template element
547 548
 	 * @param string $template_part The template element we want to display
548 549
 	 * @param array $extras_args Allows to define some parameters to spot a specific template for example
550
+	 * @param string $default_template_dir
549 551
 	 *
550 552
 	 * @return string The good template to take in care, regarding on the given parameters
551 553
 	 */
@@ -742,7 +744,7 @@  discard block
 block discarded – undo
742 744
 	 * Change output for product page
743 745
 	 *
744 746
 	 * @param string $content The content of a post
745
-	 * @return Ambigous <mixed, string>|unknown
747
+	 * @return string <mixed, string>|unknown
746 748
 	 */
747 749
 	public static function products_page( $content = '' ) {
748 750
 		global $wp_query;
Please login to merge, or discard this patch.
includes/librairies/display/form.class.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 	*	@param string $method The default method for the form Default is set to post
31 31
 	*	@param string $action The default action for the form Default is set to empty
32 32
 	*
33
-	*	@return mixed $the_form The complete html output of the form
33
+	*	@return string $the_form The complete html output of the form
34 34
 	*/
35 35
 	function form($name, $input_list, $method = 'post', $action = ''){
36 36
 		$the_form_content_hidden = $the_form_content = '';
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 	*	@param string $type The input type Could be: text or hidden or passowrd
130 130
 	*	@param string $option Allows to define options for the input Could be readonly or disabled or style
131 131
 	*
132
-	*	@return mixed The output code to add to the form
132
+	*	@return string The output code to add to the form
133 133
 	*/
134 134
 	public static function form_input($name, $id, $value = '', $type = 'text', $option = '', $input_label = ''){
135 135
 		$allowedType = array('text', 'hidden', 'password', 'file');
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	*	@param mixed $value The default value for the field Default is empty
153 153
 	*	@param string $option Allows to define options for the input Could be maxlength or style
154 154
 	*
155
-	*	@return mixed The output code to add to the form
155
+	*	@return string The output code to add to the form
156 156
 	*/
157 157
 	public static function form_input_textarea($name, $id, $value = '', $option = '')
158 158
 	{
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 	*	@param mixed $value The selected value for the field Default is empty
168 168
 	*	@param string $option Allows to define options for the input Could be onchange
169 169
 	*
170
-	*	@return mixed $output The output code to add to the form
170
+	*	@return string $output The output code to add to the form
171 171
 	*/
172 172
 	public static function form_input_select($name, $id, $content, $value = '', $option = '', $optionValue = ''){
173 173
 		global $comboxOptionToHide;
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 	*	@param mixed $value The selected value for the field Default is empty
216 216
 	*	@param string $option Allows to define options for the input Could be onchange
217 217
 	*
218
-	*	@return mixed $output The output code to add to the form
218
+	*	@return string $output The output code to add to the form
219 219
 	*/
220 220
 	public static function form_input_multiple_select($name, $id, $content, $value = array(), $option = '', $optionValue = '') {
221 221
 		global $comboxOptionToHide;
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
 	*	@param mixed $value The selected value for the field Default is empty
259 259
 	*	@param string $option Allows to define options for the input Could be onchange
260 260
 	*
261
-	*	@return mixed $output The output code to add to the form
261
+	*	@return string $output The output code to add to the form
262 262
 	*/
263 263
 	public static function form_input_check($name, $id, $content, $value = '', $type = 'checkbox', $option = '', $optionValue = '', $input_label=''){
264 264
 		$output = '';
Please login to merge, or discard this patch.
includes/librairies/display/widgets/categories.widget.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,6 @@
 block discarded – undo
98 98
 	/**
99 99
 	*	Get the sub categories of a given category
100 100
 	*
101
-	*	@param integer $parent_category The main category we want to have the sub categories for
102 101
 	*/
103 102
 	function category_tree_selector_output($category_id = 0, $wpshop_widget_categories, $instance){
104 103
 		$category_tree_output = '';
Please login to merge, or discard this patch.
includes/librairies/eav/attributes_set.class.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,6 +45,7 @@  discard block
 block discarded – undo
45 45
 	/**
46 46
 	*	Get the url listing slug of the current class
47 47
 	*
48
+	*	@param string $message
48 49
 	*	@return string The table of the class
49 50
 	*/
50 51
 	function setMessage($message){
@@ -665,7 +666,7 @@  discard block
 block discarded – undo
665 666
 	/**
666 667
 	*	Display inteface allowing to manage the attribute set and group details
667 668
 	*
668
-	*	@param object $atributeSetId The element's identifier we have to manage the details for
669
+	*	@param object $attributeSetId The element's identifier we have to manage the details for
669 670
 	*
670 671
 	*	@return string $attributeSetDetailsManagement The html output of management interface
671 672
 	*/
@@ -949,7 +950,7 @@  discard block
 block discarded – undo
949 950
 	*	@param integer $attributeSetId The attribute set identifier we want to get the details for
950 951
 	*	@param string $attributeSetStatus optionnal The attribute set status. Allows to define if we want all attribute sets or a deleted or valid and so on
951 952
 	*
952
-	*	@return array $attributeSetDetailsGroups The List of attribute and attribute groups for the given attribute set
953
+	*	@return string $attributeSetDetailsGroups The List of attribute and attribute groups for the given attribute set
953 954
 	*/
954 955
 	public static function getAttributeSetDetails($attributeSetId, $attributeSetStatus = "'valid', 'moderated'"){
955 956
 		global $wpdb, $validAttributeList;
Please login to merge, or discard this patch.
includes/librairies/eav/attributes_unit.class.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,6 +68,7 @@  discard block
 block discarded – undo
68 68
 	/**
69 69
 	*	Get the url listing slug of the current class
70 70
 	*
71
+	*	@param string $message
71 72
 	*	@return string The table of the class
72 73
 	*/
73 74
 	function setMessage($message)
@@ -519,7 +520,7 @@  discard block
 block discarded – undo
519 520
 	*
520 521
 	*	@param integer $element_id optionnal The attribute identifier we want to get. If not specify the entire list will be returned
521 522
 	*	@param string $element_status optionnal The status of element to get into database. Default is set to valid element
522
-	*	@param mixed $field_to_search optionnal The field we want to check the row identifier into. Default is to set id
523
+	*	@param string $field_to_search optionnal The field we want to check the row identifier into. Default is to set id
523 524
 	*
524 525
 	*	@return object $element_list A wordpress database object containing the attribute list
525 526
 	*/
Please login to merge, or discard this patch.
includes/librairies/eav/entities.class.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@  discard block
 block discarded – undo
88 88
 	/**
89 89
 	 * The metabox content for entity type support section in entity edition page
90 90
 	 *
91
-	 * @param object $post The entity type being edited
92 91
 	 */
93 92
 	public static function wpshop_entity_support_section( $entity ) {
94 93
 		$output = '';
@@ -657,7 +656,7 @@  discard block
 block discarded – undo
657 656
 	/**
658 657
 	 * Define custom columns content display in post_type page for wpshop entities
659 658
 	 *
660
-	 * @param string $columns The default column for the post_type given in second parameter
659
+	 * @param string $column The default column for the post_type given in second parameter
661 660
 	 * @param integer $post_id The current post identifier to get information for display
662 661
 	 */
663 662
 	public static function custom_columns_content($column, $post_id) {
Please login to merge, or discard this patch.