Skip to content

Commit 8590e33

Browse files
authored
Merge pull request #4 from techdivision/bugfix/neos-5.x
Neos 5.x - SocialCardHelper refactored
2 parents 3997cfb + c2d36b4 commit 8590e33

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Classes/Eel/SocialCardHelper.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
use Neos\Eel\ProtectedContextAwareInterface;
99
use Neos\Flow\Http\Client\Browser;
1010
use Neos\Flow\Http\Client\CurlEngine;
11-
use Neos\Flow\Http\Request;
12-
use Neos\Flow\Http\Uri;
1311
use Symfony\Component\DomCrawler\Crawler;
1412

1513

@@ -59,9 +57,7 @@ public function getCrawler(string $externalUri = null): ?Crawler
5957
throw new WrongUriException($externalUri . ' is not a valid URI');
6058
}
6159

62-
$uri = new Uri($externalUri);
63-
$request = Request::create($uri, "GET");
64-
$this->browser->sendRequest($request);
60+
$this->browser->request($externalUri);
6561
return $this->browser->getCrawler();
6662
}
6763

File renamed without changes.

0 commit comments

Comments
 (0)