Completed
Pull Request — master (#50)
by Juan Francisco
02:32
created
src/FormManipulationTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
   /**
58 58
    * Helper method needed for twig and javascript stuff
59
-   * @param $boolValue
59
+   * @param boolean $boolValue
60 60
    * @return string
61 61
    */
62 62
   protected function boolToString($boolValue) {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
   /**
94 94
    * Check control over an input element of radio or checkbox type
95
-   * @param $xpath
95
+   * @param string $xpath
96 96
    * @return bool
97 97
    * @throws DriverException
98 98
    */
Please login to merge, or discard this patch.
src/KeyboardTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
   /**
36 36
    * Does some control and normalization for the key event modifier
37
-   * @param $modifier
37
+   * @param string|null $modifier
38 38
    * @return string
39 39
    * @throws DriverException
40 40
    */
Please login to merge, or discard this patch.
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.