Skip to content

Commit e15d523

Browse files
oliverkleeJakeQZ
andcommitted
Pluralize it!
Co-authored-by: JakeQZ <jake.github@qzdesign.co.uk>
1 parent f7e2c04 commit e15d523

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/RuleSet/RuleSet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,12 @@ static function () use ($declaration, $nextLevelFormat): string {
347347
public function getArrayRepresentation(): array
348348
{
349349
$declarationsArrayRepresentation = [];
350-
foreach ($this->declarations as $propertyName => $declarationForOneProperty) {
350+
foreach ($this->declarations as $propertyName => $declarationsForOneProperty) {
351351
$declarationsArrayRepresentation[$propertyName] = \array_map(
352352
function (Declaration $declaration): array {
353353
return $declaration->getArrayRepresentation();
354354
},
355-
$declarationForOneProperty
355+
$declarationsForOneProperty
356356
);
357357
}
358358

0 commit comments

Comments
 (0)