Passed
Pull Request — master (#107)
by Konstantin
03:54
created
src/Quote/StrictQuoteLine.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,8 @@
 block discarded – undo
80 80
                 // Elements of the array - the numbers are formatted as usual, and the dates, dates-with-time, and lines are in
81 81
                 // single quotation marks with the same screening rules as above.
82 82
                 // as in the TabSeparated format, and then the resulting string is output in InsertRow in double quotes.
83
-                $value       = array_map(
84
-                    function ($v) use ($enclosure_esc, $encode_esc) {
83
+                $value = array_map(
84
+                    function($v) use ($enclosure_esc, $encode_esc) {
85 85
                         return is_string($v) ? $this->encodeString($v, $enclosure_esc, $encode_esc) : $v;
86 86
                     },
87 87
                     $value
Please login to merge, or discard this patch.
src/Transport/CurlerRequest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      */
238 238
     public function setWriteFunction($callback)
239 239
     {
240
-        $this->options[CURLOPT_WRITEFUNCTION]=$callback;
240
+        $this->options[CURLOPT_WRITEFUNCTION] = $callback;
241 241
     }
242 242
     /**
243 243
      * @param callable $callback
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
      */
613 613
     public function response()
614 614
     {
615
-        if (! $this->response) {
615
+        if (!$this->response) {
616 616
             throw new \ClickHouseDB\Exception\TransportException('Can`t fetch response - is empty');
617 617
         }
618 618
 
@@ -708,7 +708,7 @@  discard block
 block discarded – undo
708 708
 
709 709
         if (!empty($curl_opt[CURLOPT_WRITEFUNCTION]))
710 710
         {
711
-            $curl_opt[CURLOPT_HEADER]=false;
711
+            $curl_opt[CURLOPT_HEADER] = false;
712 712
         }
713 713
 
714 714
         if ($this->resultFileHandle) {
Please login to merge, or discard this patch.