Completed
Push — master ( dd48e2...b3a060 )
by Maik
01:54
created
src/Generics/Client/HttpHeadersTrait.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -74,23 +74,23 @@
 block discarded – undo
74 74
      */
75 75
     private function adjustHeaders($requestType)
76 76
     {
77
-        if (! array_key_exists('Accept', $this->headers) && $requestType != 'HEAD') {
77
+        if (!array_key_exists('Accept', $this->headers) && $requestType != 'HEAD') {
78 78
             $this->setHeader('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8');
79 79
         }
80 80
         
81
-        if (! array_key_exists('Accept-Language', $this->headers) && $requestType != 'HEAD') {
81
+        if (!array_key_exists('Accept-Language', $this->headers) && $requestType != 'HEAD') {
82 82
             $this->setHeader('Accept-Language', 'en-US;q=0.7,en;q=0.3');
83 83
         }
84 84
         
85
-        if (! array_key_exists('User-Agent', $this->headers) && $requestType != 'HEAD') {
85
+        if (!array_key_exists('User-Agent', $this->headers) && $requestType != 'HEAD') {
86 86
             $this->setHeader('User-Agent', 'phpGenerics 1.0');
87 87
         }
88 88
         
89
-        if (! array_key_exists('Connection', $this->headers) || strlen($this->headers['Connection']) == 0) {
89
+        if (!array_key_exists('Connection', $this->headers) || strlen($this->headers['Connection']) == 0) {
90 90
             $this->adjustConnectionHeader($requestType);
91 91
         }
92 92
         
93
-        if (! array_key_exists('Accept-Encoding', $this->headers)) {
93
+        if (!array_key_exists('Accept-Encoding', $this->headers)) {
94 94
             if (function_exists('gzinflate')) {
95 95
                 $encoding = 'gzip, deflate';
96 96
             } else {
Please login to merge, or discard this patch.