Completed
Pull Request — master (#67)
by
unknown
02:06
created
src/generator/builder/parts/TypeBuilderPart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
 	/**
30 30
 	 *
31
-	 * @param AbstractModel|TypePart $model
31
+	 * @param AbstractModel $model
32 32
 	 * @param bool $allowed
33 33
 	 *
34 34
 	 * @return string|null
Please login to merge, or discard this patch.
src/model/PhpClass.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,6 @@
 block discarded – undo
79 79
 	/**
80 80
 	 * Sets the parent class name
81 81
 	 *
82
-	 * @param PhpClass|string|null $name the new parent
83 82
 	 * @return $this
84 83
 	 */
85 84
 	public function setParentClassName($parent) {
Please login to merge, or discard this patch.
src/model/RoutineInterface.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 	 * A quick way to add a parameter which is created from the given parameters
36 36
 	 *
37 37
 	 * @param string      $name
38
-	 * @param string[]|PhpTypeInterface[] $types
38
+	 * @param string[]|PhpTypeInterface[] $type
39 39
 	 * @param mixed       $defaultValue omit the argument to define no default value
40 40
 	 *
41 41
 	 * @return $this
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * A quick way to add a parameter with description which is created from the given parameters
47 47
 	 *
48 48
 	 * @param string      $name
49
-	 * @param string[]|PhpTypeInterface[] $types
49
+	 * @param string[]|PhpTypeInterface[] $type
50 50
 	 * @param null|string $typeDescription
51 51
 	 * @param mixed       $defaultValue omit the argument to define no default value
52 52
 	 *
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 	/**
85 85
 	 * Returns a collection of parameters
86 86
 	 *
87
-	 * @return array
87
+	 * @return PhpParameter[]
88 88
 	 */
89 89
 	public function getParameters();
90 90
 
Please login to merge, or discard this patch.
src/model/parts/TypePart.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@  discard block
 block discarded – undo
34 34
 	 * Sets the type
35 35
 	 *
36 36
 	 * @param null|Map|string[]|PhpTypeInterface[] $types
37
-	 * @param string $description
38 37
 	 *
39 38
 	 * @return $this
40 39
 	 */
@@ -54,7 +53,6 @@  discard block
 block discarded – undo
54 53
 	 * adds a type
55 54
 	 *
56 55
 	 * @param string|PhpTypeInterface $type
57
-	 * @param string $description
58 56
 	 * @return $this
59 57
 	 */
60 58
 	public function addType($type) {
Please login to merge, or discard this patch.
src/model/PhpTypeInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -4,12 +4,24 @@
 block discarded – undo
4 4
 
5 5
 interface PhpTypeInterface extends NamespaceInterface
6 6
 {
7
+    /**
8
+     * @return string
9
+     */
7 10
     public function getName(): ?string;
8 11
 
12
+    /**
13
+     * @return string
14
+     */
9 15
     public function getQualifiedName(): ?string;
10 16
 
17
+    /**
18
+     * @return parts\NamePart
19
+     */
11 20
     public function setName(?string $name);
12 21
 
22
+    /**
23
+     * @return parts\QualifiedNamePart
24
+     */
13 25
     public function setQualifiedName(?string $qualifiedName);
14 26
 
15 27
     public function __toString(): string;
Please login to merge, or discard this patch.