File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
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## 1.3.1
610
711### Changed
Original file line number Diff line number Diff line change @@ -114,11 +114,11 @@ private function requestBody(): array
114114 {
115115 $ payload = [];
116116 if (null === $ v = $ this ->deliveryStreamName ) {
117- throw new InvalidArgument (sprintf ('Missing parameter "DeliveryStreamName" for "%s". The value cannot be null. ' , __CLASS__ ));
117+ throw new InvalidArgument (\ sprintf ('Missing parameter "DeliveryStreamName" for "%s". The value cannot be null. ' , __CLASS__ ));
118118 }
119119 $ payload ['DeliveryStreamName ' ] = $ v ;
120120 if (null === $ v = $ this ->records ) {
121- throw new InvalidArgument (sprintf ('Missing parameter "Records" for "%s". The value cannot be null. ' , __CLASS__ ));
121+ throw new InvalidArgument (\ sprintf ('Missing parameter "Records" for "%s". The value cannot be null. ' , __CLASS__ ));
122122 }
123123
124124 $ index = -1 ;
Original file line number Diff line number Diff line change @@ -108,11 +108,11 @@ private function requestBody(): array
108108 {
109109 $ payload = [];
110110 if (null === $ v = $ this ->deliveryStreamName ) {
111- throw new InvalidArgument (sprintf ('Missing parameter "DeliveryStreamName" for "%s". The value cannot be null. ' , __CLASS__ ));
111+ throw new InvalidArgument (\ sprintf ('Missing parameter "DeliveryStreamName" for "%s". The value cannot be null. ' , __CLASS__ ));
112112 }
113113 $ payload ['DeliveryStreamName ' ] = $ v ;
114114 if (null === $ v = $ this ->record ) {
115- throw new InvalidArgument (sprintf ('Missing parameter "Record" for "%s". The value cannot be null. ' , __CLASS__ ));
115+ throw new InvalidArgument (\ sprintf ('Missing parameter "Record" for "%s". The value cannot be null. ' , __CLASS__ ));
116116 }
117117 $ payload ['Record ' ] = $ v ->requestBody ();
118118
You can’t perform that action at this time.
0 commit comments