Skip to content

Commit

Permalink
Remove return type due to test
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw authored and malberts committed Nov 8, 2021
1 parent 68d375f commit 48feef8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ComponentFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ private function setLayoutFileName( string $fileName ) {
}

/**
* @return Container
* @throws MWException
*/
public function getComponent( DOMElement $description, int $indent = 0, string $htmlClassAttribute = '' ): Container {
public function getComponent( DOMElement $description, int $indent = 0, string $htmlClassAttribute = '' ) {
$className = $this->getComponentClassName( $description );
$component = new $className( $this->getSkinTemplate(), $description, $indent,
$htmlClassAttribute );
Expand Down

0 comments on commit 48feef8

Please sign in to comment.