Skip to content

Commit

Permalink
Use Stringable interface as much as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored and fabpot committed Jul 30, 2023
1 parent 883d961 commit 40eff9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Node/NodeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
*
* @internal
*/
interface NodeInterface
interface NodeInterface extends \Stringable
{
public function getNodeName(): string;

public function getSpecificity(): Specificity;

public function __toString(): string;
}

0 comments on commit 40eff9d

Please sign in to comment.