Skip to content

EspoCRM – Open Source CRM Application

type fixes

Yurii480b18f03eca
diff --git a/application/Espo/Core/Formula/Functions/BaseFunction.php b/application/Espo/Core/Formula/Functions/BaseFunction.php
index 6b964a8f0c..a0e8824033 100644
--- a/application/Espo/Core/Formula/Functions/BaseFunction.php
+++ b/application/Espo/Core/Formula/Functions/BaseFunction.php
@@ -182,7 +182,7 @@ abstract class BaseFunction
return;
}
- $this->log->warning("Formula function: {$this->name}, argument {$index} should be '{$type}'.");
+ $this->log->warning("Formula function: $this->name, argument $index should be '$type'.");
}
/**
diff --git a/application/Espo/Core/Formula/Processor.php b/application/Espo/Core/Formula/Processor.php
index 55414f0b8b..eec059ebc3 100644
--- a/application/Espo/Core/Formula/Processor.php
+++ b/application/Espo/Core/Formula/Processor.php
@@ -156,7 +156,7 @@ class Processor
}
/**
- * @return mixed[]
+ * @return array<int, mixed>
* @throws Error
* @throws ExecutionException
*/