Skip to content

Commit

Permalink
Remove optional arguments to fix max line characters (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer committed Oct 14, 2020
1 parent 836c5fb commit 5d6dc0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Node/GetAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ public function testGetAttributeOnModel()
$actual = GetAttrNode::attribute($twig, $template->getSourceContext(), $object, "attr", [], Template::ANY_CALL);
$this->assertEquals(null, $actual);

$actual = GetAttrNode::attribute($twig, $template->getSourceContext(), $object, "exists", [], Template::ANY_CALL);
$actual = GetAttrNode::attribute($twig, $template->getSourceContext(), $object, "exists");
$this->assertEquals(false, $actual);

$object->exists = true;
$actual = GetAttrNode::attribute($twig, $template->getSourceContext(), $object, "exists", [], Template::ANY_CALL);
$actual = GetAttrNode::attribute($twig, $template->getSourceContext(), $object, "exists");
$this->assertEquals(true, $actual);
}

Expand Down

0 comments on commit 5d6dc0c

Please sign in to comment.