Skip to content

Commit 89e52ab

Browse files
authored
Fix: Remove unmatched PHPStan ignore comments in BaseMap.php (#106)
MR generated wit support of Claude
1 parent fb27b2f commit 89e52ab

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Map/BaseMap.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,9 @@ protected function getMapSubEntry(string $entry, string $entryKey, string $subEn
166166
protected function addMapSubEntry(string $entry, string $entryKey, string $subEntry, string $value): MapInterface
167167
{
168168
if (!isset(static::$map[$entry][$entryKey][$subEntry])) {
169-
// @phpstan-ignore assign.propertyType
170169
static::$map[$entry][$entryKey][$subEntry] = [$value];
171170
} else {
172171
if (array_search($value, static::$map[$entry][$entryKey][$subEntry]) === false) {
173-
// @phpstan-ignore assign.propertyType
174172
static::$map[$entry][$entryKey][$subEntry][] = $value;
175173
}
176174
}
@@ -219,7 +217,6 @@ protected function removeMapSubEntry(string $entry, string $entryKey, string $su
219217
foreach (static::$map[$entry][$entryKey][$subEntry] as $v) {
220218
$tmp[] = $v;
221219
}
222-
// @phpstan-ignore assign.propertyType
223220
static::$map[$entry][$entryKey][$subEntry] = $tmp;
224221
}
225222

@@ -269,7 +266,6 @@ protected function setValueAsDefault(string $entry, string $entryKey, string $su
269266
}
270267
$tmp[] = $v;
271268
}
272-
// @phpstan-ignore assign.propertyType
273269
static::$map[$entry][$entryKey][$subEntry] = $tmp;
274270

275271
return $this;

0 commit comments

Comments
 (0)