Completed
Branch master (a545ef)
by Sergey
03:23 queued 20s
created
Category
src/PaginatorTwigExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 				$pagination[] = $separator;
44 44
 				$pagination[] = $last_page;
45 45
 			// if current page in the middle return first page, front separator, pagination, end separator, last page
46
-			} elseif(($curr_page > ($num_items - 3)) && ($curr_page < ($last_page - 3))) {
46
+			} elseif (($curr_page > ($num_items - 3)) && ($curr_page < ($last_page - 3))) {
47 47
 				$pagination[] = 1;
48 48
 				$pagination[] = $separator;
49 49
 				$pagination = array_merge($pagination, range($curr_page - ($num_items - 5) / 2, $curr_page + ($num_items - 5) / 2));
Please login to merge, or discard this patch.