summaryrefslogtreecommitdiff
path: root/src/Http/GuzzleServiceProvider.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-12-01 22:10:10 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-12-08 02:20:51 +0100
commit064a1750279be244f86cf24f29749b391b11f1dd (patch)
treed0c30c3446d1d46cc9a179b6d20cf36967f38f32 /src/Http/GuzzleServiceProvider.php
parent47e209e12594b935ba1670096ae4c55538ebde94 (diff)
Renamed GuzzleServiceProvider to HttpClientServiceProvider, fixed translation and import error
Diffstat (limited to 'src/Http/GuzzleServiceProvider.php')
-rw-r--r--src/Http/GuzzleServiceProvider.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/Http/GuzzleServiceProvider.php b/src/Http/GuzzleServiceProvider.php
deleted file mode 100644
index f81a91f5..00000000
--- a/src/Http/GuzzleServiceProvider.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-namespace Engelsystem\Http;
-
-use Engelsystem\Container\ServiceProvider;
-use GuzzleHttp\Client as GuzzleClient;
-
-class GuzzleServiceProvider extends ServiceProvider
-{
- public function register()
- {
- $this->app->when(GuzzleClient::class)
- ->needs('$config')
- ->give(
- function () {
- return [
- // No exception on >= 400 responses
- 'http_errors' => false,
- // Wait max n seconds for a response
- 'timeout' => 2.0,
- ];
- }
- );
- }
-}