Code Duplication    Length = 3-3 lines in 2 locations

packages/mobile/src/class-mobile.php 2 locations

@@ 1444-1446 (lines=3) @@
1441
1442
		$version_num = explode( '.', $version );
1443
1444
		if ( is_array( $version_num ) === false || count( $version_num ) <= 1 ) {
1445
			return false;
1446
		}
1447
		if ( $version_num[0] == 5 ) {
1448
			return 'blackberry-5';
1449
		} elseif ( $version_num[0] == 4 && $version_num[1] == 7 ) {
@@ 1505-1507 (lines=3) @@
1502
1503
			$version_num = explode( '.', $version );
1504
1505
			if ( false === is_array( $version_num ) || count( $version_num ) <= 1 ) {
1506
				return false;
1507
			}
1508
1509
			if ( $version_num[0] == 5 ) {
1510
				return 'blackberry-5';