Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
drjayvee committed Oct 22, 2024
1 parent c5ae1ce commit 1047baa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Assertion/AssertedTypesNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1047baa

Please sign in to comment.