Skip to content

Commit 0b1dac6

Browse files
committed
Add compatibility with phpstan 0.12.91
1 parent 1334dbf commit 0b1dac6

File tree

4 files changed

+26
-19
lines changed

4 files changed

+26
-19
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1212
* **Fixed** for any bug fixes.
1313
* **Security** in case of vulnerabilities.
1414

15+
## [0.7.5] 2021-07-08
16+
### Added
17+
* Compatibility with phpstan 0.12.91 (#44)
18+
1519
## [0.7.4] 2021-04-26
1620
### Added
1721
* Enable PHP 8.0 (#35)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"require": {
1717
"php": "^7.2|^8.0",
1818
"nikic/php-parser": "^4.1.0",
19-
"phpstan/phpstan": "^0.12"
19+
"phpstan/phpstan": "^0.12.91"
2020
},
2121
"require-dev": {
2222
"friendsofphp/php-cs-fixer": "^2.18",

composer.lock

Lines changed: 20 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Type/ActiveRecordObjectType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function hasOffsetValueType(Type $offsetType): TrinaryLogic
2525
return parent::hasOffsetValueType($offsetType);
2626
}
2727

28-
public function setOffsetValueType(?Type $offsetType, Type $valueType): Type
28+
public function setOffsetValueType(?Type $offsetType, Type $valueType, bool $unionValues = true): Type
2929
{
3030
if ($offsetType instanceof ConstantStringType && $this->hasProperty($offsetType->getValue())->no()) {
3131
return new ErrorType();

0 commit comments

Comments
 (0)