mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 00:04:11 +02:00
Added $charList and $type to trim function
Adding the option to trim the string with others characters, not only with the default characters provided by php. Also added the option to define the function which will be used to trim the string, if it's normal trim, left trim or right trim
This commit is contained in:
@@ -382,7 +382,7 @@ class StaticStringyTestCase extends CommonTest
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider trimProvider()
|
||||
* @dataProvider trimProviderWithoutParams()
|
||||
*/
|
||||
public function testTrim($expected, $str)
|
||||
{
|
||||
|
Reference in New Issue
Block a user