Completed
Pull Request — master (#76)
by Matt
03:51
created
src/FormManipulationTrait.php 2 patches
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.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
     //This stuff is BECAUSE the way the driver works for setting values when being checkboxes, radios, etc.
34 34
     if (is_bool($value)) {
35 35
       $value = $this->boolToString($value);
36
-    }
37
-    else {
36
+    } else {
38 37
       $value = (string) $value;
39 38
     }
40 39
 
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.