File tree Expand file tree Collapse file tree
php-nextgen-streaming/src
php-nextgen/OpenAPIClient-php/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ private function getHeaderAndWeight(string $header): array
152152 if (preg_match ('/(.*);\s*q=(1(?:\.0+)?|0\.\d+)$/ ' , $ header , $ outputArray ) === 1 ) {
153153 $ headerData = [
154154 'header ' => $ outputArray [1 ],
155- 'weight ' => (int )( $ outputArray [2 ] * 1000 ) ,
155+ 'weight ' => (int )$ outputArray [2 ] * 1000 ,
156156 ];
157157 } else {
158158 $ headerData = [
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ private function getHeaderAndWeight(string $header): array
152152 if (preg_match ('/(.*);\s*q=(1(?:\.0+)?|0\.\d+)$/ ' , $ header , $ outputArray ) === 1 ) {
153153 $ headerData = [
154154 'header ' => $ outputArray [1 ],
155- 'weight ' => (int )( $ outputArray [2 ] * 1000 ) ,
155+ 'weight ' => (int )$ outputArray [2 ] * 1000 ,
156156 ];
157157 } else {
158158 $ headerData = [
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ private function getHeaderAndWeight(string $header): array
151151 if (preg_match ('/(.*);\s*q=(1(?:\.0+)?|0\.\d+)$/ ' , $ header , $ outputArray ) === 1 ) {
152152 $ headerData = [
153153 'header ' => $ outputArray [1 ],
154- 'weight ' => (int )( $ outputArray [2 ] * 1000 ) ,
154+ 'weight ' => (int )$ outputArray [2 ] * 1000 ,
155155 ];
156156 } else {
157157 $ headerData = [
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ private function getHeaderAndWeight(string $header): array
181181 if (preg_match ('/(.*);\s*q=(1(?:\.0+)?|0\.\d+)$/ ' , $ header , $ outputArray ) === 1 ) {
182182 $ headerData = [
183183 'header ' => $ outputArray [1 ],
184- 'weight ' => (int )( $ outputArray [2 ] * 1000 ) ,
184+ 'weight ' => (int )$ outputArray [2 ] * 1000 ,
185185 ];
186186 } else {
187187 $ headerData = [
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ private function getHeaderAndWeight(string $header): array
181181 if (preg_match ('/(.*);\s*q=(1(?:\.0+)?|0\.\d+)$/ ' , $ header , $ outputArray ) === 1 ) {
182182 $ headerData = [
183183 'header ' => $ outputArray [1 ],
184- 'weight ' => (int )( $ outputArray [2 ] * 1000 ) ,
184+ 'weight ' => (int )$ outputArray [2 ] * 1000 ,
185185 ];
186186 } else {
187187 $ headerData = [
You can’t perform that action at this time.
0 commit comments