Skip to content

Commit 9a6efe0

Browse files
committed
Merge branch 2.1.x into 2.2.x
2 parents c41e609 + 8b96391 commit 9a6efe0

File tree

3 files changed

+0
-46
lines changed

3 files changed

+0
-46
lines changed

src/Type/Accessory/AccessoryArrayListType.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ public function setOffsetValueType(?Type $offsetType, Type $valueType, bool $uni
162162

163163
public function setExistingOffsetValueType(Type $offsetType, Type $valueType): Type
164164
{
165-
if ($this->hasOffsetValueType($offsetType)->no()) {
166-
return new ErrorType();
167-
}
168-
169165
return $this;
170166
}
171167

tests/PHPStan/Analyser/nsrt/bug-13629.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

tests/PHPStan/Rules/Functions/ArrayValuesRuleTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,4 @@ public function testFile(): void
8989
$this->analyse([__DIR__ . '/data/array_values_list.php'], $expectedErrors);
9090
}
9191

92-
public function testBug13629(): void
93-
{
94-
$this->analyse([__DIR__ . '/../../Analyser/nsrt/bug-13629.php'], []);
95-
}
96-
9792
}

0 commit comments

Comments
 (0)