File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ## [ 0.3.4] - 2020-11-04
10+ ### Fixed
11+ - Fixed method calls for basic auth
12+
913## [ 0.3.3] - 2020-10-04
1014### Fixed
1115- Remove composer.lock from source code
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ class PdfPrinter implements PdfPrinterInterface {
2525 public String $ authType ;
2626 public String $ authToken ;
2727
28- public function __construct (PdfPrinterSetting $ settings = null , \GuzzleHttp \Client $ client ) {
28+ public function __construct (PdfPrinterSetting $ settings = null , \GuzzleHttp \Client $ client = null ) {
2929 $ this ->settings = $ settings ;
3030 $ this ->client = $ client !== null ? $ client : new Client ();
3131 $ this ->authType = "" ;
3232 }
3333
34- public function authBasic (String $ type , String $ username , String $ password ): PdfPrinter {
34+ public function authBasic (String $ username , String $ password ): PdfPrinter {
3535 $ this ->authType = 'Basic ' ;
3636 $ this ->authToken = "Basic " .base64_encode ("$ {username}: $ {password}" );
3737 return $ this ;
You can’t perform that action at this time.
0 commit comments