Skip to content

Commit

Permalink
Adjust various code style infringements
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindoole committed Mar 29, 2016
1 parent ab24e0d commit 6c4d6ec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
14 changes: 7 additions & 7 deletions src/Illuminate/Database/Eloquent/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@ public function value($column)
/**
* Chunk the results of the query.
*
* @param int $count
* @param callable $callback
* @return bool
* @param int $count
* @param callable $callback
* @return bool
*/
public function chunk($count, callable $callback)
{
Expand All @@ -357,10 +357,10 @@ public function chunk($count, callable $callback)
/**
* Chunk the results of a query by comparing numeric IDs.
*
* @param int $count
* @param callable $callback
* @param string $column
* @return bool
* @param int $count
* @param callable $callback
* @param string $column
* @return bool
*/
public function chunkById($count, callable $callback, $column = 'id')
{
Expand Down
22 changes: 11 additions & 11 deletions src/Illuminate/Database/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1335,10 +1335,10 @@ public function forPage($page, $perPage = 15)
/**
* Constrain the query to the next "page" of results after a given ID.
*
* @param int $perPage
* @param int $lastId
* @param string $column
* @return \Illuminate\Database\Query\Builder|static
* @param int $perPage
* @param int $lastId
* @param string $column
* @return \Illuminate\Database\Query\Builder|static
*/
public function pageAfterId($perPage = 15, $lastId = 0, $column = 'id')
{
Expand Down Expand Up @@ -1621,9 +1621,9 @@ protected function restoreFieldsForCount()
/**
* Chunk the results of the query.
*
* @param int $count
* @param callable $callback
* @return bool
* @param int $count
* @param callable $callback
* @return bool
*/
public function chunk($count, callable $callback)
{
Expand All @@ -1648,10 +1648,10 @@ public function chunk($count, callable $callback)
/**
* Chunk the results of a query by comparing numeric IDs.
*
* @param int $count
* @param callable $callback
* @param string $column
* @return bool
* @param int $count
* @param callable $callback
* @param string $column
* @return bool
*/
public function chunkById($count, callable $callback, $column = 'id')
{
Expand Down
1 change: 0 additions & 1 deletion tests/Database/DatabaseQueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,6 @@ protected function getMySqlBuilderWithProcessor()
*/
protected function getMockQueryBuilder()
{

$builder = m::mock('Illuminate\Database\Query\Builder[pageAfterId,get]', [
m::mock('Illuminate\Database\ConnectionInterface'),
new Illuminate\Database\Query\Grammars\Grammar,
Expand Down

0 comments on commit 6c4d6ec

Please sign in to comment.