Skip to content

Commit 4ccceaa

Browse files
authored
Remove unnecessary initialization of var
1 parent 8db1632 commit 4ccceaa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/MetaLoader.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,8 @@ public function loadSource(array $source): void
107107
// Build new HTTP context
108108
$context = $this->createContext($source);
109109

110-
$httpUtils = new Utils\HTTP();
111-
$data = null;
112-
113110
// GET!
111+
$httpUtils = new Utils\HTTP();
114112
$client = $httpUtils->createHttpClient($context);
115113
$response = $client->request('GET', $source['src'], $context);
116114
try {

0 commit comments

Comments
 (0)