Merge pull request #50 from snapshotpl/patch-1

Assert functions are public and static
This commit is contained in:
Bruce Weirdan 2020-04-02 00:03:06 +03:00 committed by GitHub
commit 668554f84c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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