Skip to content

Commit

Permalink
fix(TaskProcessingService): Typo
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr authored Dec 3, 2024
1 parent 4bc5af2 commit f7cacd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Service/ProvidersAI/TaskProcessingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public function getDescription(): string {
}

public function getInputShape(): array {
return array_reduce($this->customTaskType['input_shape'], static function (array $input, array $shape) => {
return array_reduce($this->customTaskType['input_shape'], static function (array $input, array $shape) {
$input[$shape['name']] = new ShapeDescriptor(
$shape['name'],
$shape['description'],
Expand All @@ -392,7 +392,7 @@ public function getInputShape(): array {
}

public function getOutputShape(): array {
return array_reduce($this->customTaskType['output_shape'], static function (array $output, array $shape) => {
return array_reduce($this->customTaskType['output_shape'], static function (array $output, array $shape) {
$output[$shape['name']] = new ShapeDescriptor(
$shape['name'],
$shape['description'],
Expand Down

0 comments on commit f7cacd2

Please sign in to comment.