Completed
Push — master ( 247a06...f26e32 )
by Sergii
02:43
created
src/Context/RawPageContext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     /**
100 100
      * @param string $text
101 101
      *
102
-     * @return NodeElement|null
102
+     * @return NodeElement
103 103
      */
104 104
     public function findByText($text)
105 105
     {
Please login to merge, or discard this patch.
src/Utils/XPath/InaccurateText.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@
 block discarded – undo
92 92
         return sprintf("$this->query[%s$this->text]", empty($this->attribute) ? 'text()' : "@$this->attribute");
93 93
     }
94 94
 
95
+    /**
96
+     * @param string $text
97
+     */
95 98
     public function text($text)
96 99
     {
97 100
         $this->text = $text;
Please login to merge, or discard this patch.
src/Context/RawTqContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
     public function waitAjaxAndAnimations()
257 257
     {
258 258
         $this->getSession()
259
-             ->wait(1000, "window.__behatAjax === false && !jQuery(':animated').length && !jQuery.active");
259
+                ->wait(1000, "window.__behatAjax === false && !jQuery(':animated').length && !jQuery.active");
260 260
     }
261 261
 
262 262
     /**
Please login to merge, or discard this patch.
src/Utils/Interaction.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@
 block discarded – undo
53 53
         $indent = implode(' ', array_fill_keys(range(0, $indent), '')) . "<$type>";
54 54
 
55 55
         self::$consoleOutput->writeln(vsprintf(
56
-          $indent . implode("\n</$type>$indent", $strings) . "</$type>",
57
-          array_slice(func_get_args(), 3)
56
+            $indent . implode("\n</$type>$indent", $strings) . "</$type>",
57
+            array_slice(func_get_args(), 3)
58 58
         ));
59 59
     }
60 60
 
Please login to merge, or discard this patch.