Commit 09f64d90 by Alexander Makarov

Added array initialization

parent 91444b20
...@@ -232,6 +232,7 @@ abstract class Renderer extends BaseRenderer implements ViewContextInterface ...@@ -232,6 +232,7 @@ abstract class Renderer extends BaseRenderer implements ViewContextInterface
*/ */
public function renderInheritance($class) public function renderInheritance($class)
{ {
$parents = [];
$parents[] = $this->typeLink($class); $parents[] = $this->typeLink($class);
while ($class->parentClass !== null) { while ($class->parentClass !== null) {
if(isset($this->context->classes[$class->parentClass])) { if(isset($this->context->classes[$class->parentClass])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment