1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Improve callmap with information from docs.php.net (#494)

* Update CallMap.php with information from docs.php.net

* Undo possibly inaccurate information from docs.php.net

* Fix bug in ReflectionMethod::invoke*() signature

http://php.net/manual/en/reflectionmethod.invoke.php had a misleading
method signature description section
This commit is contained in:
Tyson Andre 2018-02-06 17:50:32 -08:00 committed by Matthew Brown
parent 1df4c3d196
commit 0bc7ac11f1
2 changed files with 2293 additions and 2295 deletions

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@ class ArgTest extends TestCase
'callMapClassOptionalArg' => [
'<?php
$m = new ReflectionMethod("hello", "goodbye");
$m->invoke("cool");',
$m->invoke(null, "cool");',
],
'sortFunctions' => [
'<?php