Skip to content

Commit

Permalink
test: Multiple attribute binding (#480)
Browse files Browse the repository at this point in the history
* build: upgrade dom requirement and loosen version range

* docs: update examples

* feature: trim whitespace when there are only template children
closes #363

* maintenance: phpstorm analysis improvements

* tweak: remove data-element attribute

* test: isolate bug #478

* fix: remove attributes after binding
fixes #478
  • Loading branch information
g105b authored Dec 31, 2023
1 parent 913b654 commit 2762126
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 67 deletions.
122 changes: 61 additions & 61 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/BindableCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function isBindable(object $object):bool {
? $this->nullableStringOrIterable($object->$key)
: null;

if(class_exists($refTypeName)) {
if($refTypeName && class_exists($refTypeName)) {
$cacheObjectKeys[$bindKey] = $refTypeName;
}
}
Expand Down
Loading

0 comments on commit 2762126

Please sign in to comment.