Completed
Push — master ( 43c3a3...70c8cf )
by
unknown
01:41
created
src/GraphBuilder.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\ErdGenerator;
4 4
 
5
-use phpDocumentor\GraphViz\Graph;
6 5
 use Illuminate\Support\Collection;
6
+use phpDocumentor\GraphViz\Graph;
7 7
 use phpDocumentor\GraphViz\Node;
8 8
 
9 9
 class GraphBuilder
Please login to merge, or discard this patch.
src/ModelFinder.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 use Illuminate\Filesystem\Filesystem;
7 7
 use Illuminate\Support\Collection;
8 8
 use Illuminate\Support\Str;
9
-use PhpParser\Node\Stmt\Class_;
10
-use PhpParser\Node\Stmt\Namespace_;
11 9
 use PhpParser\NodeTraverser;
12 10
 use PhpParser\NodeVisitor\NameResolver;
11
+use PhpParser\Node\Stmt\Class_;
12
+use PhpParser\Node\Stmt\Namespace_;
13 13
 use PhpParser\ParserFactory;
14 14
 use ReflectionClass;
15 15
 
Please login to merge, or discard this patch.
src/Model.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     }
19 19
 
20 20
     /**
21
-     * @return mixed
21
+     * @return string
22 22
      */
23 23
     public function getModel()
24 24
     {
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     }
35 35
 
36 36
     /**
37
-     * @return mixed
37
+     * @return string
38 38
      */
39 39
     public function getLabel()
40 40
     {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return ModelRelation[]
45
+     * @return Collection
46 46
      */
47 47
     public function getRelations()
48 48
     {
Please login to merge, or discard this patch.
src/ModelRelation.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -10,6 +10,11 @@
 block discarded – undo
10 10
     private $foreignKey;
11 11
     private $name;
12 12
 
13
+    /**
14
+     * @param string $name
15
+     * @param string $type
16
+     * @param string $model
17
+     */
13 18
     public function __construct($name, $type, $model, $localKey = null, $foreignKey)
14 19
     {
15 20
         $this->type = $type;
Please login to merge, or discard this patch.