Completed
Push — master ( b8b5e7...b4f36a )
by Andrew
02:18
created
src/Http/Request.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -153,6 +153,9 @@
 block discarded – undo
153 153
         return $post ?: [];
154 154
     }
155 155
 
156
+    /**
157
+     * @param resource $stream
158
+     */
156 159
     private function parseMultipartFormData($stream, string $boundary): array {
157 160
         $post = "";
158 161
         $files = [];
Please login to merge, or discard this patch.
src/DaemonTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         if ($this->autoShutdown) {
84 84
             foreach ($statusCodes as $statusCode) {
85 85
                 if ($statusCode >= 500 && $statusCode < 600) {
86
-                    $this->flagShutdown('Automatic shutdown following status code: ' . $statusCode);
86
+                    $this->flagShutdown('Automatic shutdown following status code: '.$statusCode);
87 87
                     break;
88 88
                 }
89 89
             }
@@ -98,13 +98,13 @@  discard block
 block discarded – undo
98 98
      */
99 99
     private function installSignalHandlers(): void
100 100
     {
101
-        declare (ticks = 1);
101
+        declare(ticks=1);
102 102
 
103
-        pcntl_signal(SIGINT, function () {
103
+        pcntl_signal(SIGINT, function() {
104 104
             throw new ShutdownException('Daemon shutdown requested (received SIGINT)');
105 105
         });
106 106
 
107
-        pcntl_signal(SIGALRM, function () {
107
+        pcntl_signal(SIGALRM, function() {
108 108
             throw new ShutdownException('Daemon time limit reached (received SIGALRM)');
109 109
         });
110 110
     }
Please login to merge, or discard this patch.