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

Commit fc71790

Browse files
committed
White space after !. Remove the negative check.
1 parent 9ef82d5 commit fc71790

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Helper/Placeholder/Container/AbstractContainer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ public function __toString()
114114
public function toString($indent = null)
115115
{
116116
// If we don't have items - do not show prefix and postfix
117-
if (!$this->count()) {
117+
if (! $this->count()) {
118118
return '';
119119
}
120120

121-
$indent = ($indent !== null)
122-
? $this->getWhitespace($indent)
123-
: $this->getIndent();
121+
$indent = ($indent === null)
122+
? $this->getIndent()
123+
: $this->getWhitespace($indent);
124124

125125
$items = $this->getArrayCopy();
126126
$return = $indent

0 commit comments

Comments
 (0)