Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd8d7ed

Browse files
committed
Get rid of temp variable.
1 parent 1553f0c commit dd8d7ed

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Illuminate/Pagination/BootstrapPresenter.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,7 @@ protected function getPageSlider()
136136
*/
137137
public function getAdjacentRange()
138138
{
139-
$start = $this->currentPage - 3;
140-
141-
return $this->getPageRange($start, $this->currentPage + 3);
139+
return $this->getPageRange($this->currentPage - 3, $this->currentPage + 3);
142140
}
143141

144142
/**

0 commit comments

Comments
 (0)