public static function forMissingClosing(array $open)
    {
        foreach ($open as $i => $item) {
            $open[$i] = sprintf(self::ERROR_LINE, $item['value'], $item['line']);
        }

        $message = implode(self::ERROR_AND, $open);
        $message = sprintf(self::ERROR_MISSING_CLOSING, $message);

        return new static($message);
    }
public static function forMissingClosing(array $open)
    {
        foreach ($open as $i => $item) {
            $open[$i] = sprintf(self::ERROR_LINE, $item['value'], $item['line']);
        }

        $message = implode(self::ERROR_AND, $open);
        $message = sprintf(self::ERROR_MISSING_CLOSING, $message);

        return new static($message);
    }
public static function forMissingClosing ( array $ open ) { foreach ( $ open as $ i => $ item ) { $ open [ $ i ] = sprintf ( self :: ERROR_LINE , $ item [ 'value' ] , $ item [ 'line' ] ) ; } $ message = implode ( self :: ERROR_AND , $ open ) ; $ message = sprintf ( self :: ERROR_MISSING_CLOSING , $ message ) ; return new static ( $ message ) ; }
Triggered when we are missing closing tags

@param *array $open A list of open nodes

@return HandlebarsException
Triggered when we are missing closing tags