Skip to content

Commit 40eff9d

Browse files
VincentLangletfabpot
authored andcommitted
Use Stringable interface as much as possible
1 parent 883d961 commit 40eff9d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Node/NodeInterface.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@
2121
*
2222
* @internal
2323
*/
24-
interface NodeInterface
24+
interface NodeInterface extends \Stringable
2525
{
2626
public function getNodeName(): string;
2727

2828
public function getSpecificity(): Specificity;
29-
30-
public function __toString(): string;
3129
}

0 commit comments

Comments
 (0)