mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-20 14:36:57 +00:00
moved some more PSR0 class names to namespaced ones
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ class TokenStream
|
||||
{
|
||||
if (!$name instanceof Source) {
|
||||
if (null !== $name || null !== $source) {
|
||||
@trigger_error(sprintf('Passing a string as the $name argument of %s() is deprecated since version 1.27. Pass a \Twig_Source instance instead.', __METHOD__), E_USER_DEPRECATED);
|
||||
@trigger_error(sprintf('Passing a string as the $name argument of %s() is deprecated since version 1.27. Pass a \Twig\Source instance instead.', __METHOD__), E_USER_DEPRECATED);
|
||||
}
|
||||
$this->source = new Source($source, $name);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user