mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
Fix type hint
PHPStorm wrongly inferred the type 'Unicode'
This commit is contained in:
@@ -227,7 +227,7 @@ class Twig_Test_EscapingTest extends PHPUnit_Framework_TestCase
|
|||||||
/**
|
/**
|
||||||
* Convert a Unicode Codepoint to a literal UTF-8 character.
|
* Convert a Unicode Codepoint to a literal UTF-8 character.
|
||||||
*
|
*
|
||||||
* @param int Unicode codepoint in hex notation
|
* @param int $codepoint Unicode codepoint in hex notation
|
||||||
* @return string UTF-8 literal string
|
* @return string UTF-8 literal string
|
||||||
*/
|
*/
|
||||||
protected function codepointToUtf8($codepoint)
|
protected function codepointToUtf8($codepoint)
|
||||||
|
|||||||
Reference in New Issue
Block a user