diff --git a/models/Context.php b/models/Context.php index 834f755e..e05ba67c 100644 --- a/models/Context.php +++ b/models/Context.php @@ -123,7 +123,9 @@ public function updateReferences() } foreach ($this->interfaces as $interface) { foreach ($interface->parentInterfaces as $pInterface) { - $this->interfaces[$pInterface]->implementedBy[] = $interface->name; + if (isset($this->interfaces[$pInterface])) { + $this->interfaces[$pInterface]->implementedBy[] = $interface->name; + } } } // inherit docs