@@ -258,6 +258,9 @@ |
||
258 | 258 | } |
259 | 259 | } |
260 | 260 | |
261 | + /** |
|
262 | + * @param \Closure $callback |
|
263 | + */ |
|
261 | 264 | private function generateStates($changes, $callback) |
262 | 265 | { |
263 | 266 | $slices = []; |
@@ -250,6 +250,9 @@ discard block |
||
250 | 250 | return $this->getData($entity, $id, $date, '_temporal_override_aggregate'); |
251 | 251 | } |
252 | 252 | |
253 | + /** |
|
254 | + * @param string $space |
|
255 | + */ |
|
253 | 256 | private function getData($entity, $id, $date, $space) |
254 | 257 | { |
255 | 258 | $entity = $this->entityNameToId($entity); |
@@ -468,6 +471,9 @@ discard block |
||
468 | 471 | return $this; |
469 | 472 | } |
470 | 473 | |
474 | + /** |
|
475 | + * @return string |
|
476 | + */ |
|
471 | 477 | private function getTimestamp($string) |
472 | 478 | { |
473 | 479 | if (Carbon::hasTestNow() || !array_key_exists($string, $this->timestamps)) { |
@@ -33,6 +33,9 @@ |
||
33 | 33 | return null; |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param string $space |
|
38 | + */ |
|
36 | 39 | public function mapEntity($space, $class) : self |
37 | 40 | { |
38 | 41 | $this->validateSpace($space); |
@@ -325,6 +325,9 @@ |
||
325 | 325 | return $this->formatNamesHash[$name]; |
326 | 326 | } |
327 | 327 | |
328 | + /** |
|
329 | + * @return string |
|
330 | + */ |
|
328 | 331 | public function getReference(string $name) : ?string |
329 | 332 | { |
330 | 333 | return $this->isReference($name) ? $this->formatReferences[$name] : null; |