Completed
Push — master ( 9898fa...44c9ca )
by Sergii
06:52
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/Database/Operator.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,10 +41,10 @@
 block discarded – undo
41 41
         $credentials = [];
42 42
 
43 43
         foreach ([
44
-          'u' => $username,
45
-          'p' => $password,
46
-          'h' => $host,
47
-          'P' => $port,
44
+            'u' => $username,
45
+            'p' => $password,
46
+            'h' => $host,
47
+            'P' => $port,
48 48
         ] as $parameter => $value) {
49 49
             if (!empty($value)) {
50 50
                 $credentials[] = "-$parameter$value";
Please login to merge, or discard this patch.