@@ -216,7 +216,7 @@ |
||
| 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 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | * |
| 37 | 37 | * @api |
| 38 | 38 | * @since future |
| 39 | - * @return \GV\Entry|null An instance of this entry or null if not found. |
|
| 39 | + * @return null|GF_Entry An instance of this entry or null if not found. |
|
| 40 | 40 | */ |
| 41 | 41 | public static function by_id( $entry_id ) { |
| 42 | 42 | $entry = \GFAPI::get_entry( $entry_id ); |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * |
| 53 | 53 | * @param array $entry The array ID. |
| 54 | 54 | * |
| 55 | - * @return \GV\Entry|null An instance of this entry or null if not found. |
|
| 55 | + * @return null|GF_Entry An instance of this entry or null if not found. |
|
| 56 | 56 | */ |
| 57 | 57 | public static function from_entry( $entry ) { |
| 58 | 58 | if ( empty( $entry['id'] ) ) { |