Completed
Push — master ( e70756...bebea9 )
by Benjamin
01:18
created
src/HasUuid.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -9,12 +9,24 @@  discard block
 block discarded – undo
9 9
 
10 10
 trait HasUuid
11 11
 {
12
+    /**
13
+     * @param string $type
14
+     */
12 15
     abstract public function setKeyType($type);
13 16
 
17
+    /**
18
+     * @param boolean $value
19
+     */
14 20
     abstract public function setIncrementing($value);
15 21
 
22
+    /**
23
+     * @param string $key
24
+     */
16 25
     abstract public function getAttribute($key);
17 26
 
27
+    /**
28
+     * @param \Closure $callback
29
+     */
18 30
     abstract public static function creating($callback);
19 31
 
20 32
     public function __construct(array $attributes = [])
@@ -60,6 +72,9 @@  discard block
 block discarded – undo
60 72
         return $this->uuidVersion ?? 4;
61 73
     }
62 74
 
75
+    /**
76
+     * @return string|null
77
+     */
63 78
     public function getUuidNode(): ?string
64 79
     {
65 80
         if (! isset($this->uuidNode)) {
@@ -69,6 +84,9 @@  discard block
 block discarded – undo
69 84
         return $this->interpolate($this->uuidNode);
70 85
     }
71 86
 
87
+    /**
88
+     * @return string|null
89
+     */
72 90
     public function getUuidNamespace(): ?string
73 91
     {
74 92
         // when no explicit namespace is provided,
Please login to merge, or discard this patch.