Completed
Push — master ( 0fae22...156482 )
by Charles
03:07
created
components/RPQComponent.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace yrc\components;
4 4
 
5
-use Redis;
6
-use RPQ\Client;
5
+use Redis;
6
+use RPQ\Client;
7 7
 use yii\base\BaseObject;
8
-use Yii;
9 8
 
10 9
 final class RPQComponent extends BaseObject
11 10
 {
Please login to merge, or discard this patch.
components/HttpClientComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             'transport' => $this->transport
54 54
         ]);
55 55
 
56
-        $this->client->on(Client::EVENT_BEFORE_SEND, function (RequestEvent $e) {
56
+        $this->client->on(Client::EVENT_BEFORE_SEND, function(RequestEvent $e) {
57 57
             Yii::info([
58 58
                 'message' => sprintf('Sending HTTP request [%s] %s', $e->request->getMethod(), $e->request->getUrl()),
59 59
                 'data' => [
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             ], 'httpclient');
66 66
         });
67 67
 
68
-        $this->client->on(Client::EVENT_AFTER_SEND, function (RequestEvent $e) {
68
+        $this->client->on(Client::EVENT_AFTER_SEND, function(RequestEvent $e) {
69 69
             Yii::info([
70 70
                 'message' => sprintf('Recieved HTTP response HTTP [%s] | [%s] %s', $e->response->getStatusCode(), $e->request->getMethod(), $e->request->getUrl()),
71 71
                 'data' => [
Please login to merge, or discard this patch.
commands/WorkerController.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * Command line options
25 25
      * @param string $actionID
26
-     * @return array
26
+     * @return string[]
27 27
      */
28 28
     public function options($actionID)
29 29
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace yrc\commands;
4 4
 
5
-use Exception;
6
-use yii\console\Controller;
5
+use Exception;
6
+use yii\console\Controller;
7 7
 use Yii;
8 8
 
9 9
 class WorkerController extends Controller
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace yrc\commands;
4 4
 
Please login to merge, or discard this patch.
models/redis/EncryptionKey.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
     /**
17 17
      * Model attributes
18
-     * @return array
18
+     * @return string[]
19 19
      */
20 20
     public function attributes()
21 21
     {
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @return sodium_crypto_box_publickey
31
+     * @return string
32 32
      */
33 33
     public function getBoxPublicKey()
34 34
     {
Please login to merge, or discard this patch.
web/Json25519Parser.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use yii\helpers\Json;
6 6
 use yii\web\JsonParser;
7 7
 use yrc\models\redis\EncryptionKey;
8
-
9 8
 use yii\web\BadRequestHttpException;
10 9
 use yii\base\InvalidParamException;
11 10
 use Yii;
Please login to merge, or discard this patch.
jobs/notifications/email/AbstractEmailNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace yrc\jobs\notifications\email;
4 4
 
Please login to merge, or discard this patch.