Skip to content

Commit 949dd3f

Browse files
committed
add strict to mongodb, null, and pheanstalk transports.
1 parent cf972c2 commit 949dd3f

6 files changed

Lines changed: 12 additions & 0 deletions

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;

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;

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;

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;

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;

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;

0 commit comments

Comments
 (0)