mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-27 04:24:50 +01:00
Merge pull request #50 from snapshotpl/patch-1
Assert functions are public and static
This commit is contained in:
commit
668554f84c
@ -102,7 +102,7 @@ abstract class Assert
|
||||
* @psalm-assert =T $actual
|
||||
* @return void
|
||||
*/
|
||||
function assertSame($expected, $actual, $message = '') {}
|
||||
public static function assertSame($expected, $actual, $message = '') {}
|
||||
|
||||
/**
|
||||
* Asserts that two variables are not the same.
|
||||
@ -114,5 +114,5 @@ abstract class Assert
|
||||
* @psalm-assert !=T $actual
|
||||
* @return void
|
||||
*/
|
||||
function assertNotSame($expected, $actual, $message = '') {}
|
||||
public static function assertNotSame($expected, $actual, $message = '') {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user