Completed
Push — master ( c5163f...754a93 )
by Zack
14:29 queued 09:38
created
includes/class-frontend-views.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
 	/**
155 155
 	 * Sets the single entry ID and also the entry
156
-	 * @param bool|int|string $single_entry
156
+	 * @param boolean|string $single_entry
157 157
 	 */
158 158
 	public function setSingleEntry( $single_entry ) {
159 159
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
 	/**
172 172
 	 * Set the current entry
173
-	 * @param array|int $entry Entry array or entry slug or ID
173
+	 * @param boolean|string $entry Entry array or entry slug or ID
174 174
 	 */
175 175
 	public function setEntry( $entry ) {
176 176
 
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
 	 *
229 229
 	 *
230 230
 	 *
231
-	 * @param null $view_id
231
+	 * @param string $view_id
232 232
 	 */
233 233
 	public function set_context_view_id( $view_id = null ) {
234 234
 		$multiple_views = defined( 'GRAVITYVIEW_FUTURE_CORE_LOADED' ) ? gravityview()->views->count() > 1 : ( $this->getGvOutputData() && $this->getGvOutputData()->has_multiple_views() );
@@ -1213,7 +1213,7 @@  discard block
 block discarded – undo
1213 1213
 	 *
1214 1214
 	 * @uses  gravityview_get_entries()
1215 1215
 	 * @access public
1216
-	 * @param array $args\n
1216
+	 * @param array $args
1217 1217
 	 *   - $id - View id
1218 1218
 	 *   - $page_size - Page
1219 1219
 	 *   - $sort_field - form field id to sort
@@ -1370,7 +1370,6 @@  discard block
 block discarded – undo
1370 1370
 	 * @since 1.19.5
1371 1371
 	 *
1372 1372
 	 * @param $args
1373
-	 * @param int $form_id
1374 1373
 	 */
1375 1374
 	public static function get_search_criteria_paging( $args ) {
1376 1375
 
@@ -1785,7 +1784,7 @@  discard block
 block discarded – undo
1785 1784
 	/**
1786 1785
 	 * Checks if field (column) is sortable
1787 1786
 	 *
1788
-	 * @param string $field Field settings
1787
+	 * @param string $field_id Field settings
1789 1788
 	 * @param array $form Gravity Forms form array
1790 1789
 	 *
1791 1790
 	 * @since 1.7
Please login to merge, or discard this patch.
future/_mocks.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -62,6 +62,8 @@
 block discarded – undo
62 62
  * @internal
63 63
  * @since future
64 64
  *
65
+ * @param integer $form_id
66
+ * @param integer $count
65 67
  * @return array The old associative array data as returned by
66 68
  *  \GravityView_frontend::get_view_entries(), the paging parameters
67 69
  *  and a total count of all entries.
Please login to merge, or discard this patch.
includes/class-gravityview-merge-tags.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
 	 * @param bool $url_encode Whether to URL-encode output
217 217
 	 * @param bool $esc_html Whether to apply `esc_html()` to output
218 218
 	 *
219
-	 * @return mixed
219
+	 * @return string
220 220
 	 */
221 221
 	public static function replace_gv_merge_tags( $text, $form = array(), $entry = array(), $url_encode = false, $esc_html = false ) {
222 222
 
Please login to merge, or discard this patch.