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

Skip to content

Commit feed52f

Browse files
committed
Merge branch '4.2'
2 parents 162bd6d + 43f388b commit feed52f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ Laravel follows the [PSR-0](https://github.com/php-fig/fig-standards/blob/master
2323
- Namespace declarations should be on the same line as `<?php`.
2424
- Class opening `{` should be on the same line as the class name.
2525
- Function and control structure opening `{` should be on a separate line.
26-
- Interface names are suffixed with `Interface` (`FooInterface`)
26+
- Interface and Trait names are suffixed with `Interface` (`FooInterface`) and `Trait` (`FooTrait`) respectively.

src/Illuminate/Pagination/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function getPaginationView(Paginator $paginator, $view = null)
126126
*/
127127
public function getCurrentPage()
128128
{
129-
$page = (int) $this->currentPage ?: $this->request->query->get($this->pageName, 1);
129+
$page = (int) $this->currentPage ?: $this->request->input($this->pageName, 1);
130130

131131
if ($page < 1 || filter_var($page, FILTER_VALIDATE_INT) === false)
132132
{

0 commit comments

Comments
 (0)