Passed
Push — master ( 00c19d...0186a8 )
by Alexander
06:54
created
src/Repositories/TokenRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * TokensRepository constructor.
40
-     * @param TokenRecordInterface|null $model
40
+     * @param TokenRecordInterface $model
41 41
      * @param TokenRepositoryConfigInterface $config
42 42
      * @param TokenGeneratorInterface $generator
43 43
      * @param Delivery\ServiceInterface $service
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@  discard block
 block discarded – undo
6 6
 use Wearesho\Yii\Exceptions\DeliveryLimitReachedException;
7 7
 use Wearesho\Yii\Exceptions\InvalidRecipientException;
8 8
 use Wearesho\Yii\Exceptions\InvalidTokenException;
9
-
10 9
 use Horat1us\Yii\Exceptions\ModelException;
11 10
 use Wearesho\Yii\Interfaces\TokenableEntityInterface;
12 11
 use Wearesho\Yii\Interfaces\TokenGeneratorInterface;
@@ -14,7 +13,6 @@  discard block
 block discarded – undo
14 13
 use Wearesho\Yii\Interfaces\TokenRecordInterface;
15 14
 use Wearesho\Yii\Interfaces\TokenRepositoryInterface;
16 15
 use Wearesho\Yii\Interfaces\TokenRepositoryConfigInterface;
17
-
18 16
 use Wearesho\Delivery;
19 17
 
20 18
 /**
Please login to merge, or discard this patch.
tests/Repositories/TokenRepositoryTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,18 +4,14 @@
 block discarded – undo
4 4
 namespace Wearesho\Yii\Tests\Repositories;
5 5
 
6 6
 use Carbon\CarbonInterval;
7
-
8 7
 use Wearesho\Delivery;
9
-
10 8
 use Wearesho\Yii\Exceptions\DeliveryLimitReachedException;
11 9
 use Wearesho\Yii\Exceptions\InvalidRecipientException;
12 10
 use Wearesho\Yii\Exceptions\InvalidTokenException;
13
-
14 11
 use Wearesho\Yii\Interfaces\TokenInterface;
15 12
 use Wearesho\Yii\Interfaces\TokenRecordInterface;
16 13
 use Wearesho\Yii\Interfaces\TokenRepositoryConfigInterface;
17 14
 use Wearesho\Yii\Repositories\TokenRepository;
18
-
19 15
 use Wearesho\Yii\Tests\AbstractTestCase;
20 16
 use Wearesho\Yii\Tests\Mocks\TokenableEntityMock;
21 17
 use Wearesho\Yii\Tests\Mocks\TokenGeneratorMock;
Please login to merge, or discard this patch.