Completed
Push — develop ( 8b20d3...ccc9af )
by Zack
06:46
created
includes/extensions/edit-entry/class-edit-entry.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
 
67
+    /**
68
+     * @param string $component
69
+     */
67 70
     private function load_components( $component ) {
68 71
 
69 72
         $dir = trailingslashit( self::$file );
@@ -183,7 +186,7 @@  discard block
 block discarded – undo
183 186
      * "You can edit this post from the post page" fields, for example.
184 187
      *
185 188
      * @param $entry array Gravity Forms entry object
186
-     * @param $view_id int GravityView view id
189
+     * @param integer $view_id int GravityView view id
187 190
      * @param $post_id int GravityView Post ID where View may be embedded {@since 1.9.2}
188 191
      * @param string|array $field_values Parameters to pass in to the Edit Entry form to prefill data. Uses the same format as Gravity Forms "Allow field to be populated dynamically" {@since 1.9.2} {@see https://www.gravityhelp.com/documentation/article/allow-field-to-be-populated-dynamically/ }
189 192
      * @return string
@@ -286,7 +289,7 @@  discard block
 block discarded – undo
286 289
      * Needs to be used combined with GravityView_Edit_Entry::user_can_edit_entry for maximum security!!
287 290
      *
288 291
      * @param  array $entry Gravity Forms entry array
289
-     * @param \GV\View|int $view ID of the view you want to check visibility against {@since 1.9.2}. Required since 2.0
292
+     * @param integer $view ID of the view you want to check visibility against {@since 1.9.2}. Required since 2.0
290 293
      * @return bool
291 294
      */
292 295
     public static function check_user_cap_edit_entry( $entry, $view = 0 ) {
Please login to merge, or discard this patch.