Completed
Push — master ( 10f06c...519b66 )
by Dmitry
06:59 queued 01:51
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 1 patch
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.
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/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/Plugin/Temporal.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -183,6 +183,9 @@
 block discarded – undo
183 183
         return $this->getData($entity, $id, $date, '_temporal_override_aggregate');
184 184
     }
185 185
 
186
+    /**
187
+     * @param string $space
188
+     */
186 189
     private function getData($entity, $id, $date, $space)
187 190
     {
188 191
         $entity = $this->entityNameToId($entity);
Please login to merge, or discard this patch.
src/Plugin/Temporal/Aggregator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -258,6 +258,9 @@
 block discarded – undo
258 258
         }
259 259
     }
260 260
 
261
+    /**
262
+     * @param \Closure $callback
263
+     */
261 264
     private function generateStates($changes, $callback)
262 265
     {
263 266
         $slices = [];
Please login to merge, or discard this patch.
src/Mapper.php 1 patch
Doc Comments   +14 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,16 +42,27 @@  discard block
 block discarded – undo
39 42
         return $this->getRepository($space)->findOne($params);
40 43
     }
41 44
 
45
+    /**
46
+     * @param string $space
47
+     *
48
+     * @return Entity
49
+     */
42 50
     public function findOrCreate($space, $params = [])
43 51
     {
44 52
         return $this->getRepository($space)->findOrCreate($params)->save();
45 53
     }
46 54
 
55
+    /**
56
+     * @param string $space
57
+     */
47 58
     public function findOrFail($space, $params = [])
48 59
     {
49 60
         return $this->getRepository($space)->findOrFail($params)->save();
50 61
     }
51 62
 
63
+    /**
64
+     * @param string $space
65
+     */
52 66
     public function find($space, $params = [])
53 67
     {
54 68
         return $this->getRepository($space)->find($params);
Please login to merge, or discard this patch.
src/Schema.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -114,6 +114,9 @@
 block discarded – undo
114 114
         return $this->spaces[$id];
115 115
     }
116 116
 
117
+    /**
118
+     * @param string $name
119
+     */
117 120
     public function getSpaceId($name)
118 121
     {
119 122
         if (!$this->hasSpace($name)) {
Please login to merge, or discard this patch.