Skip to content

Commit

Permalink
Fix PHP style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
markuspoerschke committed Nov 28, 2017
1 parent 913b89e commit bc8436b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ abstract public function buildPropertyBag();
* @param Component $component The Component that will be added
* @param null $key The key of the Component
*/
public function addComponent(Component $component, $key = null)
public function addComponent(self $component, $key = null)
{
if (null == $key) {
$this->components[] = $component;
Expand Down Expand Up @@ -163,7 +163,7 @@ private function buildComponents(array &$lines)
* @param array $lines
* @param Component $component
*/
private function addComponentLines(array &$lines, Component $component)
private function addComponentLines(array &$lines, self $component)
{
foreach ($component->build() as $l) {
$lines[] = $l;
Expand Down

0 comments on commit bc8436b

Please sign in to comment.