Skip to content

Commit 6ea1155

Browse files
committed
Removed obsolete Psr18Wrapper from examples
1 parent 0a2e221 commit 6ea1155

9 files changed

+0
-18
lines changed

examples/demo-batch-async-on-demand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
];
4646

4747
$httpClient = new GuzzleClient($guzzleOptions);
48-
// only required if you are using guzzle < 7
49-
$httpClient = new Psr18Wrapper($httpClient);
5048

5149
// initiate a batch instance
5250
$batch = new BatchAsyncModule($settings['customerId'], $httpClient, new RequestFactory(), new StreamFactory());

examples/demo-batch-ts.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
];
3636

3737
$httpClient = new GuzzleClient($guzzleOptions);
38-
// only required if you are using guzzle < 7
39-
$httpClient = new Psr18Wrapper($httpClient);
4038

4139
// create a re-usable array of filenames (in/out)
4240
$files = [

examples/demo-batch.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
];
3737

3838
$httpClient = new GuzzleClient($guzzleOptions);
39-
// only required if you are using guzzle < 7
40-
$httpClient = new Psr18Wrapper($httpClient);
4139

4240
// create a re-usable array of filenames (in/out)
4341
$files = [

examples/demo-ltv-async-on-demand-with-appearance.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
];
4545

4646
$httpClient = new GuzzleClient($guzzleOptions);
47-
// only required if you are using guzzle < 7
48-
$httpClient = new Psr18Wrapper($httpClient);
4947

5048
// let's get the document
5149
$document = SetaPDF_Core_Document::loadByFilename('files/tektown/Laboratory-Report.pdf');

examples/demo-ltv-async-on-demand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
];
4343

4444
$httpClient = new GuzzleClient($guzzleOptions);
45-
// only required if you are using guzzle < 7
46-
$httpClient = new Psr18Wrapper($httpClient);
4745

4846
// let's get the document
4947
$document = SetaPDF_Core_Document::loadByFilename('files/tektown/Laboratory-Report.pdf');

examples/demo-ltv.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
];
3737

3838
$httpClient = new GuzzleClient($guzzleOptions);
39-
// only required if you are using guzzle < 7
40-
$httpClient = new Psr18Wrapper($httpClient);
4139

4240
// create an HTTP writer
4341
$writer = new SetaPDF_Core_Writer_Http('Swisscom-ltv.pdf');

examples/demo-ts-ltv.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
];
3737

3838
$httpClient = new GuzzleClient($guzzleOptions);
39-
// only required if you are using guzzle < 7
40-
$httpClient = new Psr18Wrapper($httpClient);
4139

4240
// create an HTTP writer
4341
$writer = new SetaPDF_Core_Writer_Http('Swisscom-Ts-Ltv.pdf');

examples/demo-ts.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
];
3434

3535
$httpClient = new GuzzleClient($guzzleOptions);
36-
// only required if you are using guzzle < 7
37-
$httpClient = new Psr18Wrapper($httpClient);
3836

3937
// create an HTTP writer
4038
$writer = new SetaPDF_Core_Writer_Http('Swisscom.pdf');

examples/demo.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
];
3737

3838
$httpClient = new GuzzleClient($guzzleOptions);
39-
// only required if you are using guzzle < 7
40-
$httpClient = new Psr18Wrapper($httpClient);
4139

4240
// create an HTTP writer
4341
$writer = new SetaPDF_Core_Writer_Http('Swisscom.pdf');

0 commit comments

Comments
 (0)