Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 0c654f6

Browse files
committed
Merge pull request #125 from symfony-cmf/remove_to_string
remove reliance on __toString()
2 parents 8db0fa9 + 73c8cfa commit 0c654f6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Model/MenuNodeBase.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,4 @@ public function getOptions()
602602
'labelAttributes' => $this->labelAttributes,
603603
);
604604
}
605-
606-
public function __toString()
607-
{
608-
return $this->getLabel() ? (string) $this->getLabel() : '(no label set)';
609-
}
610605
}

0 commit comments

Comments
 (0)