Skip to content

Commit 51f7303

Browse files
committed
minor #540 Remove redundant readonly definition (llupa)
This PR was merged into the main branch. Discussion ---------- Remove redundant `readonly` definition | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | | License | MIT Commits ------- 8073af6 Remove redundant `readonly` definition
2 parents 7ca5522 + 8073af6 commit 51f7303

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/platform/src/Bridge/Ollama/OllamaMessageChunk.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
* @param array<string, mixed> $message
2121
*/
2222
public function __construct(
23-
public readonly string $model,
24-
public readonly \DateTimeImmutable $created_at,
25-
public readonly array $message,
26-
public readonly bool $done,
23+
public string $model,
24+
public \DateTimeImmutable $created_at,
25+
public array $message,
26+
public bool $done,
2727
) {
2828
}
2929

0 commit comments

Comments
 (0)