Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit c1b81d7

Browse files
committed
Common count.
1 parent fc71790 commit c1b81d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Helper/Placeholder/Container/AbstractContainer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ public function __toString()
113113
*/
114114
public function toString($indent = null)
115115
{
116-
// If we don't have items - do not show prefix and postfix
117-
if (! $this->count()) {
116+
if (! count($this)) {
118117
return '';
119118
}
120119

0 commit comments

Comments
 (0)