diff --git a/src/PhpSpreadsheet/Calculation/Calculation.php b/src/PhpSpreadsheet/Calculation/Calculation.php index 6028a9d72f..ff7cf13416 100644 --- a/src/PhpSpreadsheet/Calculation/Calculation.php +++ b/src/PhpSpreadsheet/Calculation/Calculation.php @@ -1633,7 +1633,7 @@ public static function getExcelConstants(string $key): bool|null 'category' => Category::CATEGORY_STATISTICAL, 'functionCall' => [Statistical\Trends::class, 'LINEST'], 'argumentCount' => '1-4', - ], + ], 'LN' => [ 'category' => Category::CATEGORY_MATH_AND_TRIG, 'functionCall' => [MathTrig\Logarithms::class, 'natural'], @@ -2873,7 +2873,7 @@ public static function getExcelConstants(string $key): bool|null 'functionCall' => [Internal\WildcardMatch::class, 'compare'], ], ]; - + public function __construct(?Spreadsheet $spreadsheet = null) { $this->spreadsheet = $spreadsheet; diff --git a/src/PhpSpreadsheet/Calculation/External/Llm.php b/src/PhpSpreadsheet/Calculation/External/Llm.php new file mode 100644 index 0000000000..b5c31115f4 --- /dev/null +++ b/src/PhpSpreadsheet/Calculation/External/Llm.php @@ -0,0 +1,11 @@ +