Skip to content

Conversation

@tuankiet2605
Copy link
Contributor

No description provided.

@tuankiet2605 tuankiet2605 requested a review from rilwis April 23, 2024 08:46
Copy link
Member

@rilwis rilwis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Format lại code nữa.

inc/field.php Outdated
* @param bool optional flag removal of empty arrays after filtering
* @return array merged array
*/
private static function array_filter_recursive( array $array, callable $callback = null, bool $remove_empty_arrays = false ): array {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hàm này đưa vào class Helpers\Arr.

inc/field.php Outdated
});

return array_filter( $meta );
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nên đưa hàm này vào class của các field object (mình có class object choice rồi).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants