summaryrefslogtreecommitdiff
path: root/src/Diactoros/ServerRequestFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Diactoros/ServerRequestFactory.php')
-rwxr-xr-xsrc/Diactoros/ServerRequestFactory.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/Diactoros/ServerRequestFactory.php b/src/Diactoros/ServerRequestFactory.php
deleted file mode 100755
index 3fcf8e29..00000000
--- a/src/Diactoros/ServerRequestFactory.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-/**
- * High-performance PHP process supervisor and load balancer written in Go
- *
- * @author Wolfy-J
- */
-declare(strict_types=1);
-
-namespace Spiral\RoadRunner\Diactoros;
-
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\ServerRequestInterface;
-use Zend\Diactoros\ServerRequest;
-
-final class ServerRequestFactory implements ServerRequestFactoryInterface
-{
- /**
- * @inheritdoc
- */
- public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
- {
- $uploadedFiles = [];
- return new ServerRequest($serverParams, $uploadedFiles, $uri, $method);
- }
-}