@@ -56,7 +56,7 @@ discard block |
||
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 |
||
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 | */ |
@@ -34,7 +34,7 @@ |
||
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 | */ |
@@ -12,7 +12,7 @@ |
||
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){ |
@@ -15,7 +15,7 @@ |
||
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"; |