Completed
Push — master ( 9894b1...a9adf0 )
by Dmitry
01:52
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   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 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 phpDocumentor\Reflection\Types\ContextFactory;
9 8
 use ReflectionClass;
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/Plugin/Temporal.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
         return $this->getData($entity, $id, $date, '_temporal_override_aggregate');
32 32
     }
33 33
 
34
+    /**
35
+     * @param string $space
36
+     */
34 37
     private function getData($entity, $id, $date, $space)
35 38
     {
36 39
         $entity = $this->entityNameToId($entity);
@@ -250,6 +253,9 @@  discard block
 block discarded – undo
250 253
         return $data;
251 254
     }
252 255
 
256
+    /**
257
+     * @param string $type
258
+     */
253 259
     private function updateAggregation($type, $params, $changeaxis)
254 260
     {
255 261
         $isLink = $type === 'link';
@@ -358,6 +364,9 @@  discard block
 block discarded – undo
358 364
         return $this->mapper->findOne('_temporal_entity', compact('id'))->name;
359 365
     }
360 366
 
367
+    /**
368
+     * @param string $name
369
+     */
361 370
     private function initSchema($name)
362 371
     {
363 372
         switch ($name) {
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,6 +29,9 @@  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();
@@ -39,6 +42,9 @@  discard block
 block discarded – undo
39 42
         return $this->getRepository($space)->findOne($params);
40 43
     }
41 44
 
45
+    /**
46
+     * @param string $space
47
+     */
42 48
     public function findOrCreate($space, $params = [])
43 49
     {
44 50
         return $this->getRepository($space)->findOrCreate($params)->save();
@@ -49,6 +55,9 @@  discard block
 block discarded – undo
49 55
         return $this->getRepository($space)->findOrFail($params)->save();
50 56
     }
51 57
 
58
+    /**
59
+     * @param string $space
60
+     */
52 61
     public function find($space, $params = [])
53 62
     {
54 63
         return $this->getRepository($space)->find($params);
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
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
         }
30 30
     }
31 31
 
32
+    /**
33
+     * @param Space $space
34
+     */
32 35
     private function generateValue($space)
33 36
     {
34 37
         $this->initSchema();
Please login to merge, or discard this patch.
src/Space.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -200,6 +200,9 @@
 block discarded – undo
200 200
         return $this;
201 201
     }
202 202
 
203
+    /**
204
+     * @param string $name
205
+     */
203 206
     public function getReference($name)
204 207
     {
205 208
         return $this->isReference($name) ? $this->formatReferences[$name] : null;
Please login to merge, or discard this patch.