Skip to content

Commit

Permalink
Remove redundant method
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubtobiasz committed Jul 18, 2022
1 parent 351425d commit 55edb2d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Sylius/Behat/Context/Setup/ChannelContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,4 @@ private function changeChannelState(ChannelInterface $channel, $state)
$this->channelManager->flush();
$this->sharedStorage->set('channel', $channel);
}

private function getHostnameFromUrl(string $url): ?string
{
$parsedUrl = parse_url($url);

return $parsedUrl['host'] ?? null;
}
}

0 comments on commit 55edb2d

Please sign in to comment.