Passed
Push — master ( 2b43a7...0357b0 )
by Peter
02:13
created
src/Service/File/Downloader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,11 +162,11 @@
 block discarded – undo
162 162
     protected function getReadStreamCallback($stream): callable
163 163
     {
164 164
         if (!is_resource($stream)) {
165
-            return function () {
165
+            return function() {
166 166
             };
167 167
         }
168 168
 
169
-        return function () use ($stream) {
169
+        return function() use ($stream) {
170 170
             while (!feof($stream)) {
171 171
                 print(@fread($stream, static::READ_LENGTH));
172 172
                 ob_flush();
Please login to merge, or discard this patch.
website-routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  */
20 20
 $router->group(
21 21
     ['controllerNamespace' => 'AbterPhp\Files\Http\Controllers'],
22
-    function (Router $router) {
22
+    function(Router $router) {
23 23
         /** @see \AbterPhp\Files\Http\Controllers\Website\File::download() */
24 24
         $router->get(
25 25
             RoutesConstant::PATH_FILE,
Please login to merge, or discard this patch.