Completed
Push — master ( 8944e6...f6512a )
by Dmitry
02:41
created
src/Client.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
         return $response;
32 32
     }
33 33
 
34
+    /**
35
+     * @param double $start
36
+     */
34 37
     private function log($start, $class, $request = [], $response = [])
35 38
     {
36 39
         if ($this->logging) {
Please login to merge, or discard this patch.
src/Plugin/Annotation.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -185,6 +185,9 @@
 block discarded – undo
185 185
 
186 186
     private $underscores = [];
187 187
 
188
+    /**
189
+     * @param string $input
190
+     */
188 191
     private function toUnderscore($input)
189 192
     {
190 193
         if (!array_key_exists($input, $this->underscores)) {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Tarantool\Mapper\Plugin;
4 4
 
5 5
 use Exception;
6
-
7 6
 use phpDocumentor\Reflection\DocBlockFactory;
8 7
 use ReflectionClass;
9 8
 use ReflectionProperty;
10
-
11 9
 use Tarantool\Mapper\Entity;
12 10
 use Tarantool\Mapper\Plugin;
13 11
 use Tarantool\Mapper\Plugin\NestedSet;
Please login to merge, or discard this patch.
src/Plugin/Sequence.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
         }
20 20
     }
21 21
 
22
+    /**
23
+     * @param Space $space
24
+     */
22 25
     private function generateValue($space)
23 26
     {
24 27
         $spaceId = $space->getId();
Please login to merge, or discard this patch.
src/Repository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -270,6 +270,9 @@
 block discarded – undo
270 270
         $this->results = [];
271 271
     }
272 272
 
273
+    /**
274
+     * @param Entity $instance
275
+     */
273 276
     public function save($instance)
274 277
     {
275 278
         $key = $this->space->getInstanceKey($instance);
Please login to merge, or discard this patch.
src/Mapper.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -29,11 +29,17 @@  discard block
 block discarded – undo
29 29
         return $plugin;
30 30
     }
31 31
 
32
+    /**
33
+     * @param string $space
34
+     */
32 35
     public function create($space, $data)
33 36
     {
34 37
         return $this->getRepository($space)->create($data)->save();
35 38
     }
36 39
 
40
+    /**
41
+     * @param string $space
42
+     */
37 43
     public function findOne($space, $params = [])
38 44
     {
39 45
         return $this->getRepository($space)->findOne($params);
@@ -44,6 +50,9 @@  discard block
 block discarded – undo
44 50
         return $this->getRepository($space)->findOrCreate($params)->save();
45 51
     }
46 52
 
53
+    /**
54
+     * @param string $space
55
+     */
47 56
     public function find($space, $params = [])
48 57
     {
49 58
         return $this->getRepository($space)->find($params);
Please login to merge, or discard this patch.