Permalink
Browse files

Add string cast for 3.24 in tests

  • Loading branch information...
1 parent db6bb4a commit a70c5edb7336557a638f1c5a0dc4621df7ac32d8 @fredemmott fredemmott committed Jan 8, 2018
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/ContextsTest.php
View
@@ -4,7 +4,7 @@ class :test:contexts extends :x:element {
protected function render(): XHPRoot {
return
<div>
- <p>{$this->getContext('heading')}</p>
+ <p>{(string) $this->getContext('heading')}</p>
{$this->getChildren()}
</div>;
}

0 comments on commit a70c5ed

Please sign in to comment.