diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cc7866..2f02dd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,5 @@ CHANGELOG for 1.x =================== -## v1.7.1 - (2024-06-20) -### Added -- `ArrayUtils::hasDuplicateValue` + tests -- `StringUtils::fillPrefix` Fill a prefix to value until specified length + tests - ## v1.7.0 - (2024-06-14) ### Added - `MonitoringApiControllerTrait` used to centralize ApiCall manipulation during api monitoring diff --git a/CHANGELOG_add_duplicate_value_fill_prefix.md b/CHANGELOG_add_duplicate_value_fill_prefix.md new file mode 100644 index 0000000..7387d52 --- /dev/null +++ b/CHANGELOG_add_duplicate_value_fill_prefix.md @@ -0,0 +1,3 @@ +### Added +- `MonitoringApiControllerTrait` used to centralize ApiCall manipulation during api monitoring +- `ApiCallMonitor::logException` simplify logging exception for `ApiCall` using the `ProcessMonitor` diff --git a/src/Utils/StringUtils.php b/src/Utils/StringUtils.php index 9697f94..4ab3c7c 100644 --- a/src/Utils/StringUtils.php +++ b/src/Utils/StringUtils.php @@ -188,7 +188,8 @@ public static function formatSpaceBetween(?string $first, ?string $last): string } /** - * Fill a prefix to value until specified length + * Fill a prefix to value until specified length. + * For example this can be used on invoice number generation to fill in missing character. * *
      *