Code Duplication    Length = 3-3 lines in 2 locations

class.vartype.php 1 location

@@ 395-397 (lines=3) @@
392
			foreach ( $this->test_data_keys as $key ) {
393
				$value  = $this->test_data[ $key ];
394
				$legend = '';
395
				if ( isset( $this->test_legend[ $key ] ) ) {
396
					$legend = '<sup class="fright"><a href="#var-legend-' . $key . '">&dagger;' . $key . '</a></sup>';
397
				}
398
399
				$type = substr( $key, 0, 1 );
400

class.vartype-compare.php 1 location

@@ 349-351 (lines=3) @@
346
			foreach ( $this->test_data_keys as $key1 ) {
347
				$value1 = $this->test_data[ $key1 ];
348
				$legend = '';
349
				if ( isset( $this->test_legend[ $key1 ] ) ) {
350
					$legend = '<sup class="fright"><a href="#var-legend-' . $key1 . '">&dagger;' . $key1 . '</a></sup>';
351
				}
352
353
				$type = substr( $key1, 0, 1 );
354