Skip to content

Commit a68e468

Browse files
committed
remove unused var, directly create it
1 parent 60d37e2 commit a68e468

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Routes/SolidStorage.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ class SolidStorage {
1313
public static function respondToStorage() {
1414
$requestFactory = new ServerRequestFactory();
1515
$rawRequest = $requestFactory->fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES);
16-
$response = new Response();
1716

1817
StorageServer::initializeStorage();
1918
$filesystem = StorageServer::getFileSystem();
2019

21-
$resourceServer = new ResourceServer($filesystem, $response, null);
20+
$resourceServer = new ResourceServer($filesystem, new Response(), null);
2221
$solidNotifications = new SolidNotifications();
2322
$resourceServer->setNotifications($solidNotifications);
2423

0 commit comments

Comments
 (0)