mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix tests
This commit is contained in:
parent
7fa48f3508
commit
8a0776c8e5
@ -14,7 +14,8 @@ class ArgTest extends TestCase
|
||||
return [
|
||||
'callMapClassOptionalArg' => [
|
||||
'<?php
|
||||
$m = new ReflectionMethod("hello", "goodbye");
|
||||
class Hello {}
|
||||
$m = new ReflectionMethod(Hello::class, "goodbye");
|
||||
$m->invoke(null, "cool");',
|
||||
],
|
||||
'sortFunctions' => [
|
||||
|
@ -326,7 +326,7 @@ class PropertyTypeTest extends TestCase
|
||||
class Foo {
|
||||
}
|
||||
|
||||
$a = new \ReflectionMethod("Foo", "__construct");
|
||||
$a = new \ReflectionMethod(Foo::class, "__construct");
|
||||
|
||||
echo $a->name . " - " . $a->class;',
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user