Skip to content

Commit 7c46c96

Browse files
author
Thomas Kerin
committed
code style fix
1 parent a6c2890 commit 7c46c96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Buffertools/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function addItem(TypeInterface $item): Template
6363
*/
6464
public function parse(Parser $parser): array
6565
{
66-
if (0 == count($this->template)) {
66+
if (empty($this->template)) {
6767
throw new \RuntimeException('No items in template');
6868
}
6969

0 commit comments

Comments
 (0)