Skip to content

Commit 4e90d78

Browse files
committed
Add bcround to use numeric-string as parameter instead of string
1 parent 9eb08d1 commit 4e90d78

File tree

7 files changed

+302
-288
lines changed

7 files changed

+302
-288
lines changed

dictionaries/CallMap_81.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38333,7 +38333,7 @@
3833338333
),
3833438334
'imagickpixel::getcolorvaluequantum' =>
3833538335
array (
38336-
0 => 'float',
38336+
0 => '5',
3833738337
'color' => 'int',
3833838338
),
3833938339
'imagickpixel::gethsl' =>
@@ -38387,7 +38387,7 @@
3838738387
array (
3838838388
0 => 'bool',
3838938389
'color' => 'int',
38390-
'value' => 'float',
38390+
'value' => 'IMAGICK_QUANTUM_TYPE',
3839138391
),
3839238392
'imagickpixel::sethsl' =>
3839338393
array (
@@ -38399,7 +38399,7 @@
3839938399
'imagickpixel::setindex' =>
3840038400
array (
3840138401
0 => 'bool',
38402-
'index' => 'float',
38402+
'index' => 'IMAGICK_QUANTUM_TYPE',
3840338403
),
3840438404
'imagickpixelexception::__construct' =>
3840538405
array (

dictionaries/CallMap_84.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2980,8 +2980,8 @@
29802980
),
29812981
'bcround' =>
29822982
array (
2983-
0 => 'string',
2984-
'num' => 'string',
2983+
0 => 'numeric-string',
2984+
'num' => 'numeric-string',
29852985
'precision=' => 'int',
29862986
'mode=' => 'RoundingMode',
29872987
),

dictionaries/autogen/CallMap_81.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22520,7 +22520,7 @@
2252022520
),
2252122521
'imagickpixel::getcolorvaluequantum' =>
2252222522
array (
22523-
0 => 'float',
22523+
0 => '5',
2252422524
'color' => 'int',
2252522525
),
2252622526
'imagickpixel::gethsl' =>
@@ -22574,7 +22574,7 @@
2257422574
array (
2257522575
0 => 'bool',
2257622576
'color' => 'int',
22577-
'value' => 'float',
22577+
'value' => 'IMAGICK_QUANTUM_TYPE',
2257822578
),
2257922579
'imagickpixel::sethsl' =>
2258022580
array (
@@ -22586,7 +22586,7 @@
2258622586
'imagickpixel::setindex' =>
2258722587
array (
2258822588
0 => 'bool',
22589-
'index' => 'float',
22589+
'index' => 'IMAGICK_QUANTUM_TYPE',
2259022590
),
2259122591
'imagickpixelexception::__construct' =>
2259222592
array (

dictionaries/override/CallMap.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,6 +2288,13 @@
22882288
'modulus' => 'numeric-string',
22892289
'scale=' => 'int|null',
22902290
),
2291+
'bcround' =>
2292+
array (
2293+
0 => 'numeric-string',
2294+
'num' => 'numeric-string',
2295+
'precision=' => 'int',
2296+
'mode=' => 'RoundingMode',
2297+
),
22912298
'bcscale' =>
22922299
array (
22932300
0 => 'int',

dictionaries/override/CallMap_81_delta.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,34 @@
11321132
'filename' => 'string',
11331133
),
11341134
),
1135+
'imagickpixel::setcolorvaluequantum' =>
1136+
array (
1137+
'old' =>
1138+
array (
1139+
0 => 'bool',
1140+
'color' => 'int',
1141+
'value' => 'float',
1142+
),
1143+
'new' =>
1144+
array (
1145+
0 => 'bool',
1146+
'color' => 'int',
1147+
'value' => 'IMAGICK_QUANTUM_TYPE',
1148+
),
1149+
),
1150+
'imagickpixel::setindex' =>
1151+
array (
1152+
'old' =>
1153+
array (
1154+
0 => 'bool',
1155+
'index' => 'float',
1156+
),
1157+
'new' =>
1158+
array (
1159+
0 => 'bool',
1160+
'index' => 'IMAGICK_QUANTUM_TYPE',
1161+
),
1162+
),
11351163
'imap_append' =>
11361164
array (
11371165
'old' =>

dictionaries/override/CallMap_82_delta.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -143,34 +143,6 @@
143143
'flags=' => 'int|null',
144144
),
145145
),
146-
'imagickpixel::setcolorvaluequantum' =>
147-
array (
148-
'old' =>
149-
array (
150-
0 => 'bool',
151-
'color' => 'int',
152-
'value' => 'float',
153-
),
154-
'new' =>
155-
array (
156-
0 => 'bool',
157-
'color' => 'int',
158-
'value' => 'IMAGICK_QUANTUM_TYPE',
159-
),
160-
),
161-
'imagickpixel::setindex' =>
162-
array (
163-
'old' =>
164-
array (
165-
0 => 'bool',
166-
'index' => 'float',
167-
),
168-
'new' =>
169-
array (
170-
0 => 'bool',
171-
'index' => 'IMAGICK_QUANTUM_TYPE',
172-
),
173-
),
174146
'iterator_count' =>
175147
array (
176148
'old' =>

0 commit comments

Comments
 (0)