diff --git a/src/field.php b/src/field.php
index <HASH>..<HASH> 100644
--- a/src/field.php
+++ b/src/field.php
@@ -391,17 +391,15 @@ class Field {
 	 * @access protected
 	 */
 	protected function set_attributes( array $args ) {
+		if ( ! ( $vars = \get_object_vars( $this ) ) ) {
+			return;
+		}
+
 		unset( $args['meta']['id'] );
 		unset( $args['meta']['type'] );
 		unset( $args['meta']['name'] );
 		unset( $args['meta']['value'] );
 
-		if ( ! $args ) {
-			return;
-		}
-
-		$vars = \get_object_vars( $this );
-
 		foreach ( $vars as $key => $value ) {
 			$this->$key = $args[ $key ] ?? '';
 		}
minor enhancement to set_attributes method