Skip to content

Commit

Permalink
Coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleš authored Sep 23, 2017
1 parent 1a556c7 commit 3493f3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/DependentTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,13 @@ public function setDisabledWhenEmpty($value = true)
return $this;
}


/**
* @param Nette\Forms\Controls\BaseControl $parent
* @param Nette\Forms\Controls\BaseControl
* @return string
*/
protected function getNormalizeName(Nette\Forms\Controls\BaseControl $parent) {
protected function getNormalizeName(Nette\Forms\Controls\BaseControl $parent)
{
return str_replace('-', '_', $parent->getHtmlId());
}
}

0 comments on commit 3493f3d

Please sign in to comment.