Completed
Push — master ( 066742...ab2328 )
by Sergii
02:30
created
src/Utils/DatePicker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
     {
116 116
         return $this->context->executeJsOnElement($this->element, sprintf(
117 117
             "return jQuery({{ELEMENT}}).datepicker(%s);",
118
-            implode(', ', array_map(function ($value) {
118
+            implode(', ', array_map(function($value) {
119 119
                 return in_array($value, ['<date>']) ? $this->date : "'$value'";
120 120
             }, $arguments))
121 121
         ));
Please login to merge, or discard this patch.
src/Utils/Imap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
             4 => 'imap_qprint',
93 93
         ];
94 94
 
95
-        return isset($process[$encoding]) ? $process[$encoding] : function ($string) {
95
+        return isset($process[$encoding]) ? $process[$encoding] : function($string) {
96 96
             return $string;
97 97
         };
98 98
     }
Please login to merge, or discard this patch.
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.