Passed
Push — master ( f409da...03e09c )
by Petr
02:25
created
php-src/Wrappers/Fsp/Dir.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
      * @return int
219 219
      * @link https://www.php.net/manual/en/function.stat.php
220 220
      */
221
-    protected function parseMode(/** @scrutinizer ignore-unused */ ?Protocol\Answer\Protection $info, ?int $mode): int
221
+    protected function parseMode(/** @scrutinizer ignore-unused */ ? Protocol\Answer\Protection $info, ?int $mode): int
222 222
     {
223 223
         switch ($mode) {
224 224
             case Protocol::RDTYPE_DIR:
Please login to merge, or discard this patch.
php-src/Sockets/Stream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 //        ];
52 52
 
53 53
         $context = stream_context_create($this->contextOptions);
54
-        $link = $params->getSchema() . $params->getHost() . (!empty($params->getPort()) ? ':' . $params->getPort() : '' );
54
+        $link = $params->getSchema() . $params->getHost() . (!empty($params->getPort()) ? ':' . $params->getPort() : '');
55 55
         $timeout = is_null($params->getTimeout()) ? 10.0 : floatval($params->getTimeout()); // do NOT ask - php7 + phpstan
56 56
 
57 57
         if (!$filePointer = stream_socket_client($link, $errno, $errStr, $timeout, STREAM_CLIENT_CONNECT, $context)) {
Please login to merge, or discard this patch.