|
@@ -36,11 +36,11 @@ |
|
|
block discarded – undo |
|
36
|
36
|
{ |
|
37
|
37
|
$this->app->bind(HttpClient::class, CurlHttpClient::class); |
|
38
|
38
|
|
|
39
|
|
- $this->app->singleton(Manager::class, function () { |
|
|
39
|
+ $this->app->singleton(Manager::class, function() { |
|
40
|
40
|
$path = $this->app->get('path.storage') . DIRECTORY_SEPARATOR . 'app/domains'; |
|
41
|
41
|
return new Manager(new Cache($path), $this->app->get(HttpClient::class)); |
|
42
|
42
|
}); |
|
43
|
|
- $this->app->singleton(Rules::class, function () { |
|
|
43
|
+ $this->app->singleton(Rules::class, function() { |
|
44
|
44
|
return $this->app->get(Manager::class)->getRules() |
|
45
|
45
|
->withAsciiIDNAOption(IDNA_NONTRANSITIONAL_TO_ASCII) |
|
46
|
46
|
->withUnicodeIDNAOption(IDNA_NONTRANSITIONAL_TO_UNICODE); |
Please login to merge, or discard this patch.