original_string: public static function check( array $fields, array $data ) {
  		$dependency = new static( $data );
  
  		foreach ( $fields as $field ) {
  			if ( ! $field->get_option( 'deps' ) ) {
  				continue;
  			}
  
  			$satisfied = $dependency->apply(
  				$deps = $field->get_option( 'deps' )
  			);
  
  			$field->set_option( 'row_attributes',
  				$field->get_option( 'row_attributes' ) + [
  					'data-deps'      => esc_attr( json_encode( $deps, JSON_HEX_APOS ) ),
  					'data-satisfied' => $satisfied ? 'true' : 'false',
  				]
  			);
  
  			$field->set_option( 'active', $satisfied );
  		}
  	}
code: public static function check( array $fields, array $data ) {
  		$dependency = new static( $data );
  
  		foreach ( $fields as $field ) {
  			if ( ! $field->get_option( 'deps' ) ) {
  				continue;
  			}
  
  			$satisfied = $dependency->apply(
  				$deps = $field->get_option( 'deps' )
  			);
  
  			$field->set_option( 'row_attributes',
  				$field->get_option( 'row_attributes' ) + [
  					'data-deps'      => esc_attr( json_encode( $deps, JSON_HEX_APOS ) ),
  					'data-satisfied' => $satisfied ? 'true' : 'false',
  				]
  			);
  
  			$field->set_option( 'active', $satisfied );
  		}
  	}
code_tokens: public static function check ( array $ fields , array $ data ) { $ dependency = new static ( $ data ) ; foreach ( $ fields as $ field ) { if ( ! $ field -> get_option ( 'deps' ) ) { continue ; } $ satisfied = $ dependency -> apply ( $ deps = $ field -> get_option ( 'deps' ) ) ; $ field -> set_option ( 'row_attributes' , $ field -> get_option ( 'row_attributes' ) + [ 'data-deps' => esc_attr ( json_encode ( $ deps , JSON_HEX_APOS ) ) , 'data-satisfied' => $ satisfied ? 'true' : 'false' , ] ) ; $ field -> set_option ( 'active' , $ satisfied ) ; } }
docstring: Check the fields dependencies.
  
  @param \WPLibs\Form\Contracts\Field[] $fields
  @param array                          $data
  @return void
docstring_tokens: Check the fields dependencies .