diff --git a/src/Expectation.php b/src/Expectation.php index f46053fa..1e0f34ba 100644 --- a/src/Expectation.php +++ b/src/Expectation.php @@ -9,7 +9,7 @@ use PHPUnit\Framework\Assert; /** * @internal * - * @property Expectation not Creates the opposite expectation. + * @property Expectation $not Creates the opposite expectation. */ final class Expectation { diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index cf138b1c..ebc40173 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -145,6 +145,11 @@ PASS Tests\Expect\toEqual ✓ pass ✓ failures + ✓ not failures + + PASS Tests\Expect\toEqualCanonicalizing + ✓ pass + ✓ failures ✓ not failures PASS Tests\Expect\toEqualWithDelta @@ -332,5 +337,5 @@ WARN Tests\Visual\Success - visual snapshot of test suite on success - Tests: 6 skipped, 195 passed - Time: 5.27s + Tests: 6 skipped, 198 passed + Time: 5.46s