This repository was archived by the owner on Oct 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 5454 "cache/filesystem-adapter" : " ^1.0" ,
5555 "cache/void-adapter" : " ^1.0" ,
5656 "incenteev/composer-parameter-handler" : " ^2.1" ,
57- "commercetools/commercetools-api-reference" : " dev-master"
57+ "commercetools/commercetools-api-reference" : " dev-master#646973bdc9a5da9216fa8ae774ed51110186e3fa "
5858 },
5959 "replaces" : {
6060 "commercetools/commons" : " *"
Original file line number Diff line number Diff line change 1313 * @method CentPrecisionMoney setCentAmount(int $centAmount = null)
1414 * @method string getType()
1515 * @method CentPrecisionMoney setType(string $type = null)
16- * @method string getFractionDigits()
17- * @method CentPrecisionMoney setFractionDigits(string $fractionDigits = null)
16+ * @method int getFractionDigits()
17+ * @method CentPrecisionMoney setFractionDigits(int $fractionDigits = null)
1818 */
1919class CentPrecisionMoney extends Money
2020{
@@ -33,7 +33,7 @@ public function fieldDefinitions()
3333 static ::CURRENCY_CODE => [self ::TYPE => 'string ' ],
3434 static ::CENT_AMOUNT => [self ::TYPE => 'int ' ],
3535 static ::TYPE => [self ::TYPE => 'string ' ],
36- static ::FRACTION_DIGITS => [self ::TYPE => 'string ' ]
36+ static ::FRACTION_DIGITS => [self ::TYPE => 'int ' ]
3737 ];
3838 }
3939
Original file line number Diff line number Diff line change 1313 * @method HighPrecisionMoney setCentAmount(int $centAmount = null)
1414 * @method string getType()
1515 * @method HighPrecisionMoney setType(string $type = null)
16- * @method string getFractionDigits()
17- * @method HighPrecisionMoney setFractionDigits(string $fractionDigits = null)
16+ * @method int getFractionDigits()
17+ * @method HighPrecisionMoney setFractionDigits(int $fractionDigits = null)
1818 * @method int getPreciseAmount()
1919 * @method HighPrecisionMoney setPreciseAmount(int $preciseAmount = null)
2020 * @method string getHighPrecision()
@@ -39,7 +39,7 @@ public function fieldDefinitions()
3939 static ::CURRENCY_CODE => [self ::TYPE => 'string ' ],
4040 static ::CENT_AMOUNT => [self ::TYPE => 'int ' ],
4141 static ::TYPE => [self ::TYPE => 'string ' ],
42- static ::FRACTION_DIGITS => [self ::TYPE => 'string ' ],
42+ static ::FRACTION_DIGITS => [self ::TYPE => 'int ' ],
4343 static ::PRECISE_AMOUNT => [self ::TYPE => 'int ' ],
4444 ];
4545 }
You can’t perform that action at this time.
0 commit comments