Assert functions are public and static

This commit is contained in:
Witold Wasiczko 2020-01-27 11:02:56 +01:00 committed by Witold Wasiczko
parent d3c96627cd
commit aa0be36782
No known key found for this signature in database
GPG Key ID: 018185A24DB71DCD

View File

@ -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 = '') {}
}