Skip to content

Commit 6c4d6ec

Browse files
committed
Adjust various code style infringements
1 parent ab24e0d commit 6c4d6ec

File tree

3 files changed

+18
-19
lines changed

3 files changed

+18
-19
lines changed

src/Illuminate/Database/Eloquent/Builder.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,9 @@ public function value($column)
330330
/**
331331
* Chunk the results of the query.
332332
*
333-
* @param int $count
334-
* @param callable $callback
335-
* @return bool
333+
* @param int $count
334+
* @param callable $callback
335+
* @return bool
336336
*/
337337
public function chunk($count, callable $callback)
338338
{
@@ -357,10 +357,10 @@ public function chunk($count, callable $callback)
357357
/**
358358
* Chunk the results of a query by comparing numeric IDs.
359359
*
360-
* @param int $count
361-
* @param callable $callback
362-
* @param string $column
363-
* @return bool
360+
* @param int $count
361+
* @param callable $callback
362+
* @param string $column
363+
* @return bool
364364
*/
365365
public function chunkById($count, callable $callback, $column = 'id')
366366
{

src/Illuminate/Database/Query/Builder.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,10 +1335,10 @@ public function forPage($page, $perPage = 15)
13351335
/**
13361336
* Constrain the query to the next "page" of results after a given ID.
13371337
*
1338-
* @param int $perPage
1339-
* @param int $lastId
1340-
* @param string $column
1341-
* @return \Illuminate\Database\Query\Builder|static
1338+
* @param int $perPage
1339+
* @param int $lastId
1340+
* @param string $column
1341+
* @return \Illuminate\Database\Query\Builder|static
13421342
*/
13431343
public function pageAfterId($perPage = 15, $lastId = 0, $column = 'id')
13441344
{
@@ -1621,9 +1621,9 @@ protected function restoreFieldsForCount()
16211621
/**
16221622
* Chunk the results of the query.
16231623
*
1624-
* @param int $count
1625-
* @param callable $callback
1626-
* @return bool
1624+
* @param int $count
1625+
* @param callable $callback
1626+
* @return bool
16271627
*/
16281628
public function chunk($count, callable $callback)
16291629
{
@@ -1648,10 +1648,10 @@ public function chunk($count, callable $callback)
16481648
/**
16491649
* Chunk the results of a query by comparing numeric IDs.
16501650
*
1651-
* @param int $count
1652-
* @param callable $callback
1653-
* @param string $column
1654-
* @return bool
1651+
* @param int $count
1652+
* @param callable $callback
1653+
* @param string $column
1654+
* @return bool
16551655
*/
16561656
public function chunkById($count, callable $callback, $column = 'id')
16571657
{

tests/Database/DatabaseQueryBuilderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,6 @@ protected function getMySqlBuilderWithProcessor()
15401540
*/
15411541
protected function getMockQueryBuilder()
15421542
{
1543-
15441543
$builder = m::mock('Illuminate\Database\Query\Builder[pageAfterId,get]', [
15451544
m::mock('Illuminate\Database\ConnectionInterface'),
15461545
new Illuminate\Database\Query\Grammars\Grammar,

0 commit comments

Comments
 (0)