Completed
Branch master (00332a)
by Eugene
05:11
created
src/Client.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -154,6 +154,7 @@
 block discarded – undo
154 154
 
155 155
     /**
156 156
      * @param mixed ...$args
157
+     * @param integer $args
157 158
      */
158 159
     public function call(string $funcName, ...$args) : array
159 160
     {
Please login to merge, or discard this patch.
src/Handler/MiddlewareHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * @param Handler $handler
35 35
      * @param non-empty-array<int, Middleware> $middlewares
36
+     * @param Middleware[] $middlewares
36 37
      */
37 38
     private function __construct($handler, $middlewares)
38 39
     {
Please login to merge, or discard this patch.
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.