From aa0be367823bc518858e5638a3e100f70edb3bb0 Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Mon, 27 Jan 2020 11:02:56 +0100 Subject: [PATCH] Assert functions are public and static --- stubs/Assert.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/Assert.php b/stubs/Assert.php index 1b305dd..88a86ef 100644 --- a/stubs/Assert.php +++ b/stubs/Assert.php @@ -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 = '') {} }