enshort condition

This commit is contained in:
yggverse 2024-06-24 05:14:33 +03:00
parent 73fe0b374f
commit 5a953816e1

View file

@ -58,12 +58,6 @@ class Code
public function toString(): string public function toString(): string
{ {
if ($this->_inline) return self::TAG . $this->_alt . ($this->_inline ? self::TAG : null);
{
return $this->_alt ? self::TAG . $this->_alt . self::TAG
: self::TAG;
}
return self::TAG . $this->_alt;
} }
} }