Completed
Pull Request — master (#67)
by
unknown
02:21
created
src/model/parts/ParametersPart.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 	 */
104 104
 	public function addSimpleDescParameter(string $name, $types = null, string $typeDescription = null, $defaultValue = null) {
105 105
 		$types = (array)$types;
106
-	    $parameter = new PhpParameter($name);
106
+		$parameter = new PhpParameter($name);
107 107
 		$parameter->setTypes($types);
108 108
 		$parameter->setTypeDescription($typeDescription);
109 109
 
@@ -218,9 +218,9 @@  discard block
 block discarded – undo
218 218
 		$docblock = $this->getDocblock();
219 219
 		$tags = $docblock->getTags('param');
220 220
 		foreach ($this->parameters as $param) {
221
-		    if (!empty($noTypeHint[$param->getName()])) {
222
-                continue;
223
-            }
221
+			if (!empty($noTypeHint[$param->getName()])) {
222
+				continue;
223
+			}
224 224
 			$ptag = $param->getDocblockTag();
225 225
 
226 226
 			$tag = $tags->find($ptag, function (ParamTag $tag, ParamTag $ptag) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 	 * @return $this
103 103
 	 */
104 104
 	public function addSimpleDescParameter(string $name, $types = null, string $typeDescription = null, $defaultValue = null) {
105
-		$types = (array)$types;
105
+		$types = (array) $types;
106 106
 	    $parameter = new PhpParameter($name);
107 107
 		$parameter->setTypes($types);
108 108
 		$parameter->setTypeDescription($typeDescription);
Please login to merge, or discard this patch.
src/model/parts/QualifiedNamePart.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
 		return $this->name;
79 79
 	}
80 80
 
81
-    public function __toString(): string
82
-    {
83
-        return $this->getQualifiedName();
84
-    }
81
+	public function __toString(): string
82
+	{
83
+		return $this->getQualifiedName();
84
+	}
85 85
 }
Please login to merge, or discard this patch.