Merged in feature/314-dev-dev01 (pull request #24)

auto-patch  314-dev-dev01-2024-01-25T04_09_02

* auto-patch  314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
Tony Volpe
2024-01-25 04:11:47 +00:00
parent 6b67473553
commit 68dbe860e9
540 changed files with 3445 additions and 2131 deletions

View File

@@ -110,6 +110,8 @@ class Replace_Vars_Helper {
*
* @param string $variable The replace variable.
* @param string $value The value that the variable should be replaced with.
*
* @return void
*/
protected function register_replacement( $variable, $value ) {
$this->replace_vars->safe_register_replacement(
@@ -126,7 +128,7 @@ class Replace_Vars_Helper {
* @return Closure A function that returns the given value.
*/
protected function get_identity_function( $value ) {
return static function() use ( $value ) {
return static function () use ( $value ) {
return $value;
};
}