Skip to content

Commit f9fa340

Browse files
committed
coding style: fixed spaces & use statements order
1 parent 19884df commit f9fa340

26 files changed

+60
-35
lines changed

src/PhpGenerator/ClassType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,5 +474,4 @@ private function validate(array $names)
474474
}
475475
}
476476
}
477-
478477
}

src/PhpGenerator/Closure.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,4 @@ public function addUse($name): Parameter
7272
{
7373
return $this->uses[] = new Parameter($name);
7474
}
75-
7675
}

src/PhpGenerator/Constant.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ public function getValue()
4040
{
4141
return $this->value;
4242
}
43-
4443
}

src/PhpGenerator/Factory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,4 @@ public function fromPropertyReflection(\ReflectionProperty $from): Property
117117
$prop->setComment(Helpers::unformatDocComment((string) $from->getDocComment()));
118118
return $prop;
119119
}
120-
121120
}

src/PhpGenerator/GlobalFunction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,4 @@ public function __toString(): string
4343
. $this->returnTypeToString()
4444
. "\n{\n" . Nette\Utils\Strings::indent(ltrim(rtrim($this->body) . "\n"), 1) . '}';
4545
}
46-
4746
}

src/PhpGenerator/Helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,5 +256,4 @@ public static function extractShortName(string $name): string
256256
{
257257
return ($pos = strrpos($name, '\\')) === FALSE ? $name : substr($name, $pos + 1);
258258
}
259-
260259
}

src/PhpGenerator/Method.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,4 @@ public function isAbstract(): bool
149149
{
150150
return $this->abstract;
151151
}
152-
153152
}

src/PhpGenerator/Parameter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,4 @@ public function hasDefaultValue(): bool
132132
{
133133
return $this->hasDefaultValue;
134134
}
135-
136135
}

src/PhpGenerator/PhpFile.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,4 @@ public function __toString(): string
7575
. implode("\n\n", $this->namespaces)
7676
) . "\n";
7777
}
78-
7978
}

src/PhpGenerator/PhpLiteral.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ public function __toString(): string
2929
{
3030
return $this->value;
3131
}
32-
3332
}

0 commit comments

Comments
 (0)