Skip to content

Commit 65c467c

Browse files
authored
Add more precise types in the Laravel integrations (#1496)
1 parent 812e693 commit 65c467c

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/AsyncAwsSqsQueue.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,8 @@ class AsyncAwsSqsQueue extends Queue implements QueueContract
4545

4646
/**
4747
* Create a new Amazon SQS queue instance.
48-
*
49-
* @param string $default
50-
* @param string $prefix
51-
* @param string $suffix
52-
*
53-
* @return void
5448
*/
55-
public function __construct(SqsClient $sqs, $default, $prefix = '', $suffix = '')
49+
public function __construct(SqsClient $sqs, string $default, string $prefix = '', string $suffix = '')
5650
{
5751
$this->sqs = $sqs;
5852
$this->prefix = $prefix;

src/ServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
class ServiceProvider extends AbstractServiceProvider
1212
{
13+
/**
14+
* @return void
15+
*/
1316
public function boot()
1417
{
1518
/** @var QueueManager $manager */

0 commit comments

Comments
 (0)