diff --git a/examples/demo-batch-async-on-demand.php b/examples/demo-batch-async-on-demand.php index 779eeff..fb876cc 100644 --- a/examples/demo-batch-async-on-demand.php +++ b/examples/demo-batch-async-on-demand.php @@ -45,8 +45,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // initiate a batch instance $batch = new BatchAsyncModule($settings['customerId'], $httpClient, new RequestFactory(), new StreamFactory()); diff --git a/examples/demo-batch-ts.php b/examples/demo-batch-ts.php index a9e501d..4dc6677 100644 --- a/examples/demo-batch-ts.php +++ b/examples/demo-batch-ts.php @@ -35,8 +35,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // create a re-usable array of filenames (in/out) $files = [ diff --git a/examples/demo-batch.php b/examples/demo-batch.php index c85253e..9034f7d 100644 --- a/examples/demo-batch.php +++ b/examples/demo-batch.php @@ -36,8 +36,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // create a re-usable array of filenames (in/out) $files = [ diff --git a/examples/demo-ltv-async-on-demand-with-appearance.php b/examples/demo-ltv-async-on-demand-with-appearance.php index 971706b..3596e25 100644 --- a/examples/demo-ltv-async-on-demand-with-appearance.php +++ b/examples/demo-ltv-async-on-demand-with-appearance.php @@ -44,8 +44,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // let's get the document $document = SetaPDF_Core_Document::loadByFilename('files/tektown/Laboratory-Report.pdf'); diff --git a/examples/demo-ltv-async-on-demand.php b/examples/demo-ltv-async-on-demand.php index ed7106a..10468dd 100644 --- a/examples/demo-ltv-async-on-demand.php +++ b/examples/demo-ltv-async-on-demand.php @@ -42,8 +42,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // let's get the document $document = SetaPDF_Core_Document::loadByFilename('files/tektown/Laboratory-Report.pdf'); diff --git a/examples/demo-ltv.php b/examples/demo-ltv.php index de9e39e..a02b89f 100644 --- a/examples/demo-ltv.php +++ b/examples/demo-ltv.php @@ -36,8 +36,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // create an HTTP writer $writer = new SetaPDF_Core_Writer_Http('Swisscom-ltv.pdf'); diff --git a/examples/demo-ts-ltv.php b/examples/demo-ts-ltv.php index 5c5cc0a..426e4dc 100644 --- a/examples/demo-ts-ltv.php +++ b/examples/demo-ts-ltv.php @@ -36,8 +36,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // create an HTTP writer $writer = new SetaPDF_Core_Writer_Http('Swisscom-Ts-Ltv.pdf'); diff --git a/examples/demo-ts.php b/examples/demo-ts.php index addde8c..ca53fce 100644 --- a/examples/demo-ts.php +++ b/examples/demo-ts.php @@ -33,8 +33,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // create an HTTP writer $writer = new SetaPDF_Core_Writer_Http('Swisscom.pdf'); diff --git a/examples/demo.php b/examples/demo.php index a46d1c4..a4aacd9 100644 --- a/examples/demo.php +++ b/examples/demo.php @@ -36,8 +36,6 @@ ]; $httpClient = new GuzzleClient($guzzleOptions); -// only required if you are using guzzle < 7 -$httpClient = new Psr18Wrapper($httpClient); // create an HTTP writer $writer = new SetaPDF_Core_Writer_Http('Swisscom.pdf');