From d9678b83417850197c142a90c6b911092d647dfe Mon Sep 17 00:00:00 2001 From: programarivm Date: Sat, 4 Jan 2025 16:30:31 +0100 Subject: [PATCH] Updated to PHP Chess 1.4.93 --- src/Command/Game/Async/HeuristicTask.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Command/Game/Async/HeuristicTask.php b/src/Command/Game/Async/HeuristicTask.php index 7b50d463..5cb3238d 100644 --- a/src/Command/Game/Async/HeuristicTask.php +++ b/src/Command/Game/Async/HeuristicTask.php @@ -35,12 +35,12 @@ public function run() : new ClassicalBoard(); } - $time = (new SanPlotter( + $time = SanPlotter::time( new CompleteFunction(), + $board, $this->params['movetext'], - $this->params['name'], - $board - ))->time; + $this->params['name'] + ); return $time; }