mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 00:04:11 +02:00
changes in create function
This commit is contained in:
@@ -33,7 +33,7 @@ class Stringy
|
|||||||
*/
|
*/
|
||||||
public static function create($str, $encoding = null)
|
public static function create($str, $encoding = null)
|
||||||
{
|
{
|
||||||
return new self($str, $encoding);
|
return new static($str, $encoding);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user