Revert adding costructor back

Doesn't make sense, isn't called static.
This commit is contained in:
Barry vd. Heuvel
2014-08-26 13:01:45 +02:00
parent 3c54b17760
commit f135845100
+1 -1
View File
@@ -261,7 +261,7 @@ class Alias
if (!in_array($method->name, $this->usedMethods)) {
// Only add the methods to the output when the root is not the same as the class.
// And don't add the __*() methods
if ($this->extends !== $class && (substr($method->name, 0, 2) !== '__' || $method->name === '__construct')) {
if ($this->extends !== $class && substr($method->name, 0, 2) !== '__') {
$this->methods[] = new Method($method, $this->alias, $reflection, $method->name, $this->interfaces);
}
$this->usedMethods[] = $method->name;