File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -83,14 +83,13 @@ public function isRelative() {
83
83
}
84
84
85
85
/**
86
- * Returns a string representation of the name by imploding the namespace parts with a separator.
87
- *
88
- * @param string $separator The separator to use (defaults to the namespace separator \)
86
+ * Returns a string representation of the name by imploding the namespace parts with the
87
+ * namespace separator.
89
88
*
90
89
* @return string String representation
91
90
*/
92
- public function toString ($ separator = '\\' ) {
93
- return implode ($ separator , $ this ->parts );
91
+ public function toString () {
92
+ return implode ('\\' , $ this ->parts );
94
93
}
95
94
96
95
/**
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ public function testToString() {
27
27
28
28
$ this ->assertSame ('foo\bar ' , (string ) $ name );
29
29
$ this ->assertSame ('foo\bar ' , $ name ->toString ());
30
- $ this ->assertSame ('foo_bar ' , $ name ->toString ('_ ' ));
31
30
}
32
31
33
32
public function testAppend () {
You can’t perform that action at this time.
0 commit comments