Completed
Pull Request — master (#50)
by Juan Francisco
02:32
created
src/JavascriptTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
   /**
14 14
    * Helper function to fix javascript code before sending it to the phantomjs API
15
-   * @param $script
15
+   * @param string $script
16 16
    * @return string
17 17
    */
18 18
   protected function fixJavascriptForUse($script){
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
    * @param $script
16 16
    * @return string
17 17
    */
18
-  protected function fixJavascriptForUse($script){
18
+  protected function fixJavascriptForUse($script) {
19 19
     //Fix self returning piece of code;
20 20
     $scriptToUse = trim($script);
21 21
     $returningRegexp = "#^return(.+)#is";
Please login to merge, or discard this patch.