Completed
Branch 2.0.0 (0ecf7f)
by Jimmy
02:16
created
core/external/eo-framework/core/util/class-config-util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 		 * @param string $path_to_config_file Le chemin vers le fichier config.json.
46 46
 		 * @param string $plugin_slug         Le SLUG du plugin définis dans le fichier principale de config.json.
47 47
 		 *
48
-		 * @return \WP_Error|boolean {
48
+		 * @return \WP_Error|null {
49 49
 		 *																		WP_Error Si le fichier est inexistant ou si le plugin ne contient pas de slug.
50 50
 		 *                                    boolean  True si aucune erreur s'est produite.
51 51
 		 *}.
Please login to merge, or discard this patch.
core/external/eo-framework/core/util/class-init-util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 		 * @param string $path        Le chemin du plugin.
58 58
 		 * @param string $plugin_slug Le slug principale du plugin défini dans le fichier config.json principale.
59 59
 		 *
60
-		 * @return WP_Error|bool {
60
+		 * @return \WP_Error|null {
61 61
 		 *                            WP_Error Si le module n'existe pas dans le tableau externals du fichier principale de config.json.
62 62
 		 *                            WP_Error Si le fichier n'existe pas
63 63
 		 *                            bool     Si aucune erreur s'est produite.
Please login to merge, or discard this patch.
core/external/eo-framework/core/util/class-module-util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 		 * @param string $path        Le chemin vers le module externe.
42 42
 		 * @param string $plugin_slug Le slug principale du plugin dans le fichier principale config.json.
43 43
 		 *
44
-		 * @return \WP_Error|boolean {
44
+		 * @return \WP_Error|null {
45 45
 		 *																		WP_Error Si le fichier est inexistant ou si le plugin n'a pas de submodule.
46 46
 		 *                                    boolean  True si aucune erreur s'est produite.
47 47
 		 *}.
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-model/class/helper.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 		 * @since 1.0.0
67 67
 		 * @version 1.0.0
68 68
 		 *
69
-		 * @param  object $current L'objet complet.
69
+		 * @param  Helper_Class $current L'objet complet.
70 70
 		 */
71 71
 		private function delete_model_for_print( $current ) {
72 72
 			if ( ! empty( $this->model ) ) {
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-model/class/rest.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 		 * @since 1.0.0
37 37
 		 * @version 1.0.0
38 38
 		 *
39
-		 * @return string The rest api base for current element
39
+		 * @return boolean The rest api base for current element
40 40
 		 */
41 41
 		public function check_cap( $cap ) {
42 42
 			if ( ( ! in_array( $_SERVER['REMOTE_ADDR'], Config_Util::$init['eo-framework']->wpeo_model->allowed_ip_for_unauthentified_access_rest, true ) ) && ! current_user_can( $this->capabilities[ 'get' ] ) ) {
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-odt/class/odt.class.php 1 patch
Doc Comments   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 		 *
119 119
 		 * @since 6.0.0
120 120
 		 *
121
-		 * @param  array $model_type Le type du document.
121
+		 * @param  string $model_type Le type du document.
122 122
 		 *
123 123
 		 * @return array
124 124
 		 */
@@ -268,8 +268,7 @@  discard block
 block discarded – undo
268 268
 		 *
269 269
 		 * @since 1.0.0
270 270
 		 *
271
-		 * @param object $element      L'élément pour lequel il faut créer le document
272
-		 * @param array  $document_meta Les données a écrire dans le modèle de document
271
+		 * @param array  $document_id Les données a écrire dans le modèle de document
273 272
 		 *
274 273
 		 * @return object              Le résultat de la création du document
275 274
 		 */
@@ -355,9 +354,7 @@  discard block
 block discarded – undo
355 354
 		 *
356 355
 		 * @since 6.0.0
357 356
 		 *
358
-		 * @param string $model_path       Le chemin vers le fichier modèle a utiliser pour la génération.
359
-		 * @param array  $document_content Un tableau contenant le contenu du fichier à écrire selon l'élément en cours d'impression.
360
-		 * @param string $document_name    Le nom du document.
357
+		 * @param string $document_id    Le nom du document.
361 358
 		 *
362 359
 		 * array['status']   boolean True si tout s'est bien passé sinon false.
363 360
 		 * array['message']  string  Le message informatif de la méthode.
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-search/class/class-search.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@  discard block
 block discarded – undo
71 71
 	 *
72 72
 	 * @since 1.1.0
73 73
 	 *
74
-	 * @param  array $atts [description]
75 74
 	 */
76 75
 	public function display( $slug, $visible_value = '', $hidden_value = '' ) {
77 76
 		$atts = $this->get_registered_search( $slug );
@@ -107,6 +106,9 @@  discard block
 block discarded – undo
107 106
 		return $results;
108 107
 	}
109 108
 
109
+	/**
110
+	 * @param string $term
111
+	 */
110 112
 	private function search_user( $term, $data ) {
111 113
 		if ( ! empty( $term ) ) {
112 114
 			$args = array(
@@ -127,6 +129,9 @@  discard block
 block discarded – undo
127 129
 		return $results;
128 130
 	}
129 131
 
132
+	/**
133
+	 * @param string $term
134
+	 */
130 135
 	private function search_post( $term, $data ) {
131 136
 		$results = array();
132 137
 
Please login to merge, or discard this patch.