Skip to content

Commit 2a204b8

Browse files
committed
add strict to mongodb, null, and pheanstalk transports.
1 parent 3e9ee3f commit 2a204b8

19 files changed

Lines changed: 38 additions & 0 deletions

‎pkg/mongodb/MongodbConnectionFactory.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Mongodb;
46

57
use Interop\Queue\PsrConnectionFactory;

‎pkg/mongodb/MongodbConsumer.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Mongodb;
46

57
use Interop\Queue\InvalidMessageException;

‎pkg/mongodb/MongodbContext.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Mongodb;
46

57
use Interop\Queue\InvalidDestinationException;

‎pkg/mongodb/MongodbDestination.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Mongodb;
46

57
use Interop\Queue\PsrQueue;

‎pkg/mongodb/MongodbMessage.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Mongodb;
46

57
use Interop\Queue\PsrMessage;

‎pkg/mongodb/MongodbProducer.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Mongodb;
46

57
use Interop\Queue\Exception;

‎pkg/null/NullConnectionFactory.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Null;
46

57
use Interop\Queue\PsrConnectionFactory;

‎pkg/null/NullConsumer.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Null;
46

57
use Interop\Queue\PsrConsumer;

‎pkg/null/NullContext.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Null;
46

57
use Interop\Queue\PsrConsumer;

‎pkg/null/NullMessage.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Null;
46

57
use Interop\Queue\PsrMessage;

0 commit comments

Comments
 (0)