Completed
Push — master ( 896d5c...8275cd )
by Benjamin
01:32
created
src/HasUuid.php 2 patches
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -9,12 +9,24 @@
 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 = [])
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Bdelespierre\HasUuid;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-use Illuminate\Support\Facades\Config;
7 6
 use Illuminate\Support\Str;
8
-use Webpatser\Uuid\Uuid;
9 7
 
10 8
 trait HasUuid
11 9
 {
Please login to merge, or discard this patch.
src/Providers/UuidServiceProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Bdelespierre\HasUuid\Providers;
4 4
 
5
-use Bdelespierre\HasUuid\Contracts\UuidGenerator;
6
-use Bdelespierre\HasUuid\Contracts\UuidValidator;
7 5
 use Bdelespierre\HasUuid\UuidService;
8 6
 use Illuminate\Support\ServiceProvider;
9 7
 
Please login to merge, or discard this patch.