File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 22
33## NOT RELEASED
44
5+ ### Changed
6+
7+ - Enable compiler optimization for the ` sprintf ` function.
8+
59## 2.0.3
610
711### Changed
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ private function requestBody(): array
8383 {
8484 $ payload = [];
8585 if (null === $ v = $ this ->queryId ) {
86- throw new InvalidArgument (sprintf ('Missing parameter "QueryId" for "%s". The value cannot be null. ' , __CLASS__ ));
86+ throw new InvalidArgument (\ sprintf ('Missing parameter "QueryId" for "%s". The value cannot be null. ' , __CLASS__ ));
8787 }
8888 $ payload ['QueryId ' ] = $ v ;
8989
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ private function requestBody(): array
107107 {
108108 $ payload = [];
109109 if (null === $ v = $ this ->queryString ) {
110- throw new InvalidArgument (sprintf ('Missing parameter "QueryString" for "%s". The value cannot be null. ' , __CLASS__ ));
110+ throw new InvalidArgument (\ sprintf ('Missing parameter "QueryString" for "%s". The value cannot be null. ' , __CLASS__ ));
111111 }
112112 $ payload ['QueryString ' ] = $ v ;
113113 if (null !== $ v = $ this ->validateOnly ) {
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ private function requestBody(): array
188188 {
189189 $ payload = [];
190190 if (null === $ v = $ this ->queryString ) {
191- throw new InvalidArgument (sprintf ('Missing parameter "QueryString" for "%s". The value cannot be null. ' , __CLASS__ ));
191+ throw new InvalidArgument (\ sprintf ('Missing parameter "QueryString" for "%s". The value cannot be null. ' , __CLASS__ ));
192192 }
193193 $ payload ['QueryString ' ] = $ v ;
194194 if (null === $ v = $ this ->clientToken ) {
You can’t perform that action at this time.
0 commit comments