1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-13 16:53:59 +02:00

Merge pull request #14 from sergebezborodov/master

Use late static bindings in Stringy::create
This commit is contained in:
Daniel St. Jules
2013-11-05 20:00:18 -08:00

View File

@@ -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);
} }
/** /**