Completed
Pull Request — develop (#1425)
by Gennady
07:04
created
future/includes/class-gv-extension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 	 * - Checks PHP version numbers
208 208
 	 * - Sets self::$is_compatible[__CLASS__] to boolean value
209 209
 	 *
210
-	 * @return boolean Is the extension supported?
210
+	 * @return boolean|null Is the extension supported?
211 211
 	 */
212 212
 	protected function is_extension_supported() {
213 213
 
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 	/**
330 330
 	 * Add a notice to be displayed in the admin.
331 331
 	 *
332
-	 * @param array $notice Array with `class` and `message` keys. The message is not escaped.
332
+	 * @param string $notice Array with `class` and `message` keys. The message is not escaped.
333 333
 	 *
334 334
 	 * @return void
335 335
 	 */
Please login to merge, or discard this patch.
future/includes/class-gv-field-gravityforms.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 	 * @param \GV\GF_Form $form The Gravity Form form.
55 55
 	 * @param int $field_id The Gravity Form field ID for the $form.
56 56
 	 *
57
-	 * @return \GV\Field|null The requested field or null if not found.
57
+	 * @return null|GF_Field The requested field or null if not found.
58 58
 	 */
59 59
 	public static function by_id( $form, $field_id ) {
60 60
 
Please login to merge, or discard this patch.
future/includes/class-gv-template-entry-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	 *
23 23
 	 * @param \GV\Field $field The field to be ouput.
24 24
 	 *
25
-	 * @return string|false The field output or false if "hide_empty" is set.
25
+	 * @return null|string The field output or false if "hide_empty" is set.
26 26
 	 */
27 27
 	public function the_field( \GV\Field $field ) {
28 28
 		$renderer = new Field_Renderer();
Please login to merge, or discard this patch.
future/includes/class-gv-template-entry.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,6 @@
 block discarded – undo
63 63
 	 * Initializer.
64 64
 	 *
65 65
 	 * @param \GV\View $view The View connected to this template.
66
-	 * @param \GV\Entry_Collection $entries A collection of entries for this view.
67 66
 	 * @param \GV\Request $request The request context.
68 67
 	 */
69 68
 	public function __construct( Entry $entry, View $view, Request $request ) {
Please login to merge, or discard this patch.
future/includes/class-gv-template-legacy-override.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	 * @param \GV\Field $field The Field.
52 52
 	 * @param \GV\Request $request The request.
53 53
 	 *
54
-	 * @return void
54
+	 * @return string|null
55 55
 	 */
56 56
 	public function __construct( \GV\View $view, \GV\Entry $entry = null, \GV\Field $field = null, \GV\Request $request = null ) {
57 57
 		add_filter( $this->filter_prefix . '_get_template_part', array( $this, 'add_id_specific_templates' ), 10, 3 );
Please login to merge, or discard this patch.
includes/class-frontend-views.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
 	 *
228 228
 	 *
229 229
 	 *
230
-	 * @param null $view_id
230
+	 * @param string $view_id
231 231
 	 */
232 232
 	public function set_context_view_id( $view_id = null ) {
233 233
 		$multiple_views = $this->getGvOutputData() && $this->getGvOutputData()->has_multiple_views();
@@ -865,7 +865,7 @@  discard block
 block discarded – undo
865 865
 	 *
866 866
 	 * @uses  gravityview_get_entries()
867 867
 	 * @access public
868
-	 * @param array $args\n
868
+	 * @param array $args
869 869
 	 *   - $id - View id
870 870
 	 *   - $page_size - Page
871 871
 	 *   - $sort_field - form field id to sort
@@ -994,7 +994,6 @@  discard block
 block discarded – undo
994 994
 	 * @since 1.19.5
995 995
 	 *
996 996
 	 * @param $args
997
-	 * @param int $form_id
998 997
 	 */
999 998
 	public static function get_search_criteria_paging( $args ) {
1000 999
 
@@ -1416,7 +1415,7 @@  discard block
 block discarded – undo
1416 1415
 	/**
1417 1416
 	 * Checks if field (column) is sortable
1418 1417
 	 *
1419
-	 * @param string $field Field settings
1418
+	 * @param string $field_id Field settings
1420 1419
 	 * @param array $form Gravity Forms form array
1421 1420
 	 *
1422 1421
 	 * @since 1.7
Please login to merge, or discard this patch.
includes/class-gravityview-merge-tags.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 	 * @param GF_Field|false $field
185 185
 	 * @param string $value
186 186
 	 *
187
-	 * @return mixed|string
187
+	 * @return string
188 188
 	 */
189 189
 	private static function maybe_urlencode( $field = false, $value = '' ) {
190 190
 
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
 	 * @param bool $url_encode Whether to URL-encode output
350 350
 	 * @param bool $esc_html Whether to apply `esc_html()` to output
351 351
 	 *
352
-	 * @return mixed
352
+	 * @return string
353 353
 	 */
354 354
 	public static function replace_gv_merge_tags( $text, $form = array(), $entry = array(), $url_encode = false, $esc_html = false ) {
355 355
 
Please login to merge, or discard this patch.
includes/class-gv-license-handler.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
  */
10 10
 class GV_License_Handler extends \GV\License_Handler {
11 11
 	/**
12
-	 * @param \GV\Addon_Settings $GFAddOn
13 12
 	 *
14 13
 	 * @deprecated Use \GV\License_Handler::get instead
15 14
 	 *
Please login to merge, or discard this patch.
includes/class-template.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -219,6 +219,9 @@  discard block
 block discarded – undo
219 219
 
220 220
 	}
221 221
 
222
+	/**
223
+	 * @param string $key
224
+	 */
222 225
 	public function getCurrentFieldSetting( $key ) {
223 226
 		$settings = $this->getCurrentField('field_settings');
224 227
 
@@ -725,6 +728,7 @@  discard block
 block discarded – undo
725 728
 	 *
726 729
 	 * @inheritdoc
727 730
 	 * @see Gamajo_Template_Loader::locate_template()
731
+	 * @param string $template_names
728 732
 	 * @return null|string NULL: Template not found; String: path to template
729 733
 	 */
730 734
 	function locate_template( $template_names, $load = false, $require_once = true ) {
Please login to merge, or discard this patch.