Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions classes/models/FrmForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,9 @@ public static function update_fields( $id, $values ) { // phpcs:ignore SlevomatC
*
* @since 6.7
*
* @param array $field
* @param array $values
* @param array $new_field
* @param object $field
* @param array $values
* @param array $new_field
*
* @return void
*/
Expand Down Expand Up @@ -914,7 +914,7 @@ private static function prepare_form_row_data( $row ) {
* @param string $order_by Order by clause.
* @param int|string $limit Limit clause or number.
*
* @return array|object of objects
* @return array|object Array of objects. If $limit is 1, a single object is returned.
*/
public static function getAll( $where = array(), $order_by = '', $limit = '' ) {
if ( is_array( $where ) && $where ) {
Expand Down Expand Up @@ -956,7 +956,7 @@ public static function getAll( $where = array(), $order_by = '', $limit = '' ) {
* @param int $limit
* @param string $inc_children
*
* @return array|object of forms A single form object would be passed if $limit was set to 1.
* @return array|object Array of forms. A single form object is returned if $limit is set to 1.
*/
public static function get_published_forms( $query = array(), $limit = 999, $inc_children = 'exclude' ) {
$query['is_template'] = 0;
Expand Down