Skip to content

Commit

Permalink
Removed obsolete Psr18Wrapper from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
JanSlabon committed Apr 12, 2024
1 parent 0a2e221 commit 6ea1155
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions examples/demo-batch-async-on-demand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 0 additions & 2 deletions examples/demo-batch-ts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 0 additions & 2 deletions examples/demo-batch.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 0 additions & 2 deletions examples/demo-ltv-async-on-demand-with-appearance.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 0 additions & 2 deletions examples/demo-ltv-async-on-demand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 0 additions & 2 deletions examples/demo-ltv.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 0 additions & 2 deletions examples/demo-ts-ltv.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 0 additions & 2 deletions examples/demo-ts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 0 additions & 2 deletions examples/demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 6ea1155

Please sign in to comment.