Skip to content

Commit

Permalink
Replaced FastFunction with CompleteFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Jan 13, 2025
1 parent f99ccbc commit 331e38a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Command/Game/NonBlocking/EvalNamesCommand.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?php

namespace ChessServer\Command\Game\NonBlocking
;
namespace ChessServer\Command\Game\NonBlocking;

use Chess\Function\FastFunction;
use Chess\Function\CompleteFunction;
use ChessServer\Command\AbstractNonBlockingCommand;
use ChessServer\Socket\AbstractSocket;

Expand All @@ -23,7 +22,7 @@ public function validate(array $argv)
public function run(AbstractSocket $socket, array $argv, int $id)
{
return $socket->getClientStorage()->send([$id], [
$this->name => (new FastFunction())->names(),
$this->name => (new CompleteFunction())->names(),
]);
}
}

0 comments on commit 331e38a

Please sign in to comment.