Completed
Branch develop (a1a607)
by Neomerx
02:00
created
src/Analyzer.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
         // #6.2.3
210 210
         $requestMethod = $request->getHeader(CorsRequestHeaders::METHOD);
211 211
         if (empty($requestMethod) === true) {
212
-            $this->logDebug('Request is not CORS (header ' . CorsRequestHeaders::METHOD . ' is not specified).');
212
+            $this->logDebug('Request is not CORS (header '.CorsRequestHeaders::METHOD.' is not specified).');
213 213
 
214 214
             return $this->createResult(AnalysisResultInterface::TYPE_REQUEST_OUT_OF_CORS_SCOPE);
215 215
         }
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
 
345 345
         if ($isSameHost === false) {
346 346
             $this->logInfo(
347
-                'Host header in request either absent or do not match server origin. ' .
347
+                'Host header in request either absent or do not match server origin. '.
348 348
                 'Check config settings for Server Origin and Host Check.',
349 349
                 ['host' => $host, 'server_origin_host' => $serverOriginHost, 'server_origin_port' => $serverOriginPort]
350 350
             );
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      * @param RequestInterface $request
248 248
      * @param string           $requestOrigin
249 249
      * @param string           $requestMethod
250
-     * @param array            $lcRequestHeaders
250
+     * @param string[]            $lcRequestHeaders
251 251
      *
252 252
      * @return array
253 253
      */
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
     /**
446 446
      * @param RequestInterface $request
447 447
      *
448
-     * @return null|string
448
+     * @return string|false
449 449
      */
450 450
     private function getRequestHostHeader(RequestInterface $request): ?string
451 451
     {
Please login to merge, or discard this patch.