src/Assets.php
public function getInlineScripts($key = null)
    {
        if (isset($this->inlineScripts[$this->key($key)])) {
            $inlineScripts = $this->inlineScripts[$this->key($key)];
            $html = '';
            foreach ($inlineScripts as $inlineScript) {
                $html = empty($html) ? $html : $html . "\t";
                $html .= $inlineScript . "\n";
            }

            return $html;
        }

        return null;
    }
public function getInlineScripts($key = null)
    {
        if (isset($this->inlineScripts[$this->key($key)])) {
            $inlineScripts = $this->inlineScripts[$this->key($key)];
            $html = '';
            foreach ($inlineScripts as $inlineScript) {
                $html = empty($html) ? $html : $html . "\t";
                $html .= $inlineScript . "\n";
            }

            return $html;
        }

        return null;
    }
@param null $key

@return string