Skip to content

Commit d441ec7

Browse files
committed
formatting
1 parent 5e06383 commit d441ec7

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

src/Illuminate/Bus/BatchRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
interface BatchRepository
88
{
99
/**
10-
* Get available batches.
10+
* Retrieve a list of batches.
1111
*
1212
* @param int $limit
1313
* @param mixed $before
14-
* @return [\Illuminate\Bus\Batch]
14+
* @return \Illuminate\Bus\Batch[]
1515
*/
1616
public function get($limit, $before);
1717

src/Illuminate/Bus/DatabaseBatchRepository.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ public function __construct(BatchFactory $factory, Connection $connection, strin
4646
}
4747

4848
/**
49-
* Get available batches.
49+
* Retrieve a list of batches.
5050
*
5151
* @param int $limit
5252
* @param mixed $before
53-
* @return [\Illuminate\Bus\Batch]
53+
* @return \Illuminate\Bus\Batch[]
5454
*/
5555
public function get($limit = 50, $before = null)
5656
{
@@ -243,10 +243,10 @@ public function transaction(Closure $callback)
243243
}
244244

245245
/**
246-
* Convert the given raw batch to an object.
246+
* Convert the given raw batch to a Batch object.
247247
*
248-
* @param object $batch
249-
* @@return \Illuminate\Bus\Batch
248+
* @param object $batch
249+
* @return \Illuminate\Bus\Batch
250250
*/
251251
protected function toBatch($batch)
252252
{

src/Illuminate/Support/Testing/Fakes/BatchRepositoryFake.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@
1313
class BatchRepositoryFake implements BatchRepository
1414
{
1515
/**
16-
* Get available batches.
16+
* Retrieve a list of batches.
1717
*
1818
* @param int $limit
1919
* @param mixed $before
20-
* @return [\Illuminate\Bus\Batch]
20+
* @return \Illuminate\Bus\Batch[]
2121
*/
2222
public function get($limit, $before)
2323
{
24+
return [];
2425
}
2526

2627
/**

0 commit comments

Comments
 (0)