Skip to content

Commit cbe41ad

Browse files
committed
fixed return type hint
1 parent 0811b5c commit cbe41ad

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 8.0.1 (2024-01-27)
4+
5+
* Fixed return type hint for `bovigo\assert\predicate\isNotEqualTo()` to properly reflect that the returned instance is both of type `bovigo\assert\predicate\Predicate` and `bovigo\assert\predicate\Delta`
6+
37
## 8.0.0 (2023-12-23)
48

59
* Raised minimum required PHP version to 8.2.0
@@ -9,7 +13,7 @@
913

1014
## 7.0.1 (2022-12-26)
1115

12-
* fixed bug with incorrectly initialized delta in `bovigo\assert\predicate\equals()`
16+
* Fixed bug with incorrectly initialized delta in `bovigo\assert\predicate\equals()`
1317

1418
## 7.0.0 (2022-12-25)
1519

src/main/php/predicate/predicates.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function equals($expected): Equals
123123
*
124124
* @api
125125
*/
126-
function isNotEqualTo($unexpected): Delta
126+
function isNotEqualTo($unexpected): Predicate&Delta
127127
{
128128
return new class(equals($unexpected)) extends NegatePredicate implements Delta
129129
{

0 commit comments

Comments
 (0)