Completed
Push — master ( 53faed...4a3ff7 )
by Eugene
07:16
created
src/Packer/PurePacker.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -30,6 +30,10 @@
 block discarded – undo
30 30
     /** @var BufferUnpacker */
31 31
     private $unpacker;
32 32
 
33
+    /**
34
+     * @param Packer $packer
35
+     * @param BufferUnpacker $unpacker
36
+     */
33 37
     public function __construct(?Packer $packer = null, ?BufferUnpacker $unpacker = null)
34 38
     {
35 39
         $this->packer = $packer ?: new Packer(PackOptions::FORCE_STR);
Please login to merge, or discard this patch.
src/Schema/Space.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     /**
91 91
      * @psalm-param non-empty-array<int, mixed> $key
92
-     * @param int|string $index
92
+     * @param integer $index
93 93
      */
94 94
     public function update(array $key, Operations $operations, $index = 0) : array
95 95
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
     /**
116 116
      * @psalm-param non-empty-array<int, mixed> $key
117
-     * @param int|string $index
117
+     * @param integer $index
118 118
      */
119 119
     public function delete(array $key, $index = 0) : array
120 120
     {
Please login to merge, or discard this patch.
tests/Integration/TestCase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         return $connection;
105 105
     }
106 106
 
107
+    /**
108
+     * @return resource
109
+     */
107 110
     final public static function getRawStream(StreamConnection $connection)
108 111
     {
109 112
         $prop = (new \ReflectionObject($connection))->getProperty('stream');
Please login to merge, or discard this patch.
src/Middleware/CustomErrorMiddleware.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param \Closure(Error, RequestFailed) : \Exception $factory
29
+     * @param \Closure $factory
29 30
      */
30 31
     private function __construct($factory)
31 32
     {
Please login to merge, or discard this patch.
src/Client.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
         ));
53 53
     }
54 54
 
55
+    /**
56
+     * @param \PHPUnit\Framework\MockObject\MockObject $packer
57
+     */
55 58
     public static function fromOptions(array $options, ?Packer $packer = null) : self
56 59
     {
57 60
         $connectionOptions = [];
@@ -84,6 +87,9 @@  discard block
 block discarded – undo
84 87
             : new self($handler);
85 88
     }
86 89
 
90
+    /**
91
+     * @param \PHPUnit\Framework\MockObject\MockObject $packer
92
+     */
87 93
     public static function fromDsn(string $dsn, ?Packer $packer = null) : self
88 94
     {
89 95
         $dsn = Dsn::parse($dsn);
@@ -169,6 +175,7 @@  discard block
 block discarded – undo
169 175
 
170 176
     /**
171 177
      * @param mixed ...$args
178
+     * @param integer $args
172 179
      */
173 180
     public function call(string $funcName, ...$args) : array
174 181
     {
Please login to merge, or discard this patch.