Passed
Pull Request — master (#41)
by
unknown
11:52
created
src/TimelineOptions.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -135,8 +135,7 @@
 block discarded – undo
135 135
 
136 136
 		if ( strpos( $height, '%' ) === false ) {
137 137
 			$json['timenav_height'] = (int)substr( $height, 0, -2 );
138
-		}
139
-		else {
138
+		} else {
140 139
 			$json['timenav_height_percentage'] = (int)substr( $height, 0, -1 );
141 140
 		}
142 141
 
Please login to merge, or discard this patch.
src/EventExtractor.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
 			if ( $dataItem instanceof SMWDITime ) {
71 71
 				if ( $startDate === null ) {
72 72
 					$startDate = $dataItem;
73
-				}
74
-				elseif ( $endDate === null ) {
73
+				} elseif ( $endDate === null ) {
75 74
 					$endDate = $dataItem;
76 75
 					break;
77 76
 				}
Please login to merge, or discard this patch.