Passed
Push — master ( a37a7d...8533a4 )
by Jeroen De
05:31 queued 02:33
created
src/EventExtractor.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,8 +76,7 @@
 block discarded – undo
76 76
 			if ( $dataItem instanceof SMWDITime ) {
77 77
 				if ( $startDate === null ) {
78 78
 					$startDate = $dataItem;
79
-				}
80
-				else if ( $endDate === null ) {
79
+				} else if ( $endDate === null ) {
81 80
 					$endDate = $dataItem;
82 81
 					break;
83 82
 				}
Please login to merge, or discard this patch.
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.