Skip to content

Commit

Permalink
Merge pull request #50 from snapshotpl/patch-1
Browse files Browse the repository at this point in the history
Assert functions are public and static
  • Loading branch information
weirdan authored Apr 1, 2020
2 parents d3c9662 + aa0be36 commit 668554f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static function assertNotNull($actual, $message = '') {}
* @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.
Expand All @@ -114,5 +114,5 @@ function assertSame($expected, $actual, $message = '') {}
* @psalm-assert !=T $actual
* @return void
*/
function assertNotSame($expected, $actual, $message = '') {}
public static function assertNotSame($expected, $actual, $message = '') {}
}

0 comments on commit 668554f

Please sign in to comment.