mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 08:14:06 +02:00
Merge pull request #14 from sergebezborodov/master
Use late static bindings in Stringy::create
This commit is contained in:
@@ -33,7 +33,7 @@ class Stringy
|
||||
*/
|
||||
public static function create($str, $encoding = null)
|
||||
{
|
||||
return new self($str, $encoding);
|
||||
return new static($str, $encoding);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user