Sort native functions

parent 7a025abb
......@@ -43,17 +43,17 @@ final class TypeFactory
{
// FIXME should be possible to add to this in the config file
private $functionList = [
'sprintf' => ['return' => 'string'],
'array_unique' => ['return' => 'array'],
'count' => ['return' => 'int'],
'ctype_digit' => ['return' => 'bool'],
'filter' => ['return' => 'array'],
'implode' => ['return' => 'string'],
'preg_replace' => ['return' => 'string'],
'reset' => ['return' => 'mixed'],
'substr' => ['return' => 'string'],
'strrpos' => ['return' => 'string'],
'ctype_digit' => ['return' => 'bool'],
'sprintf' => ['return' => 'string'],
'strpbrk' => ['return' => 'string'],
'preg_replace' => ['return' => 'string'],
'count' => ['return' => 'int'],
'strrpos' => ['return' => 'string'],
'substr' => ['return' => 'string'],
];
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment