Skip to content

Commit 4b76760

Browse files
committed
coding style: fixed spaces & use statements order
1 parent 3a69f60 commit 4b76760

27 files changed

+60
-35
lines changed

src/PhpGenerator/ClassType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,5 +507,4 @@ private function validate(array $names)
507507
}
508508
}
509509
}
510-
511510
}

src/PhpGenerator/Closure.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,4 @@ public function addUse($name)
8383
{
8484
return $this->uses[] = new Parameter($name);
8585
}
86-
8786
}

src/PhpGenerator/Constant.php

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

src/PhpGenerator/Factory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,4 @@ public function fromPropertyReflection(\ReflectionProperty $from)
144144
$prop->setComment(Helpers::unformatDocComment($from->getDocComment()));
145145
return $prop;
146146
}
147-
148147
}

src/PhpGenerator/GlobalFunction.php

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

src/PhpGenerator/Helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,5 +280,4 @@ public static function extractShortName($name)
280280
{
281281
return ($pos = strrpos($name, '\\')) === FALSE ? $name : substr($name, $pos + 1);
282282
}
283-
284283
}

src/PhpGenerator/Method.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,4 @@ public function isAbstract()
161161
{
162162
return $this->abstract;
163163
}
164-
165164
}

src/PhpGenerator/Parameter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,4 @@ public function hasDefaultValue()
152152
{
153153
return $this->hasDefaultValue;
154154
}
155-
156155
}

src/PhpGenerator/PhpFile.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,4 @@ public function __toString()
9292
. implode("\n\n", $this->namespaces)
9393
) . "\n";
9494
}
95-
9695
}

src/PhpGenerator/PhpLiteral.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ public function __toString()
3333
{
3434
return $this->value;
3535
}
36-
3736
}

0 commit comments

Comments
 (0)