From 71886b5acbe157aa6e9b14c510355065ef6a29d1 Mon Sep 17 00:00:00 2001 From: Maxim Pustynnikov Date: Thu, 2 Mar 2017 12:08:47 +0800 Subject: [PATCH] fix typo in setHeaders --- src/Casper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Casper.php b/src/Casper.php index add34af..273b565 100644 --- a/src/Casper.php +++ b/src/Casper.php @@ -81,7 +81,7 @@ public function setHeaders(array $headers) $headersScript .= implode(",\n", $headerLines) . "\n"; } $headersScript .= "};"; - $this->_script .= $headersScript; + $this->script .= $headersScript; return $this; }