diff --git a/src/Assertion/AssertedTypesNode.php b/src/Assertion/AssertedTypesNode.php index a40c695..44c904f 100644 --- a/src/Assertion/AssertedTypesNode.php +++ b/src/Assertion/AssertedTypesNode.php @@ -22,9 +22,8 @@ public function compile(Compiler $compiler): void $compiler->write('// type assertions' . PHP_EOL); foreach ( - $this->getNode('types')->getAttribute( - 'mapping' - ) as $name => ['type' => $type, 'optional' => $optional] + $this->getNode('types')->getAttribute('mapping') + as $name => ['type' => $type, 'optional' => $optional] ) { $this->compileTypeAssertions($compiler, $name, $type, $optional); }