Skip to content

Commit 55cc35f

Browse files
chore: add additional php doc tags
1 parent 4a69adf commit 55cc35f

37 files changed

+166
-7
lines changed

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
*.swo
2-
*.swp
1+
composer.lock
2+
docs/
33
.idea/
44
.php-cs-fixer.cache
55
.php-cs-fixer.php
6-
.phpdoc/
76
.phpunit.cache
8-
composer.lock
97
phpunit.xml
108
playground/
9+
*.swo
10+
*.swp
1111
vendor/

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"symfony/http-client": "^7"
4545
},
4646
"scripts": {
47+
"build:docs": "curl --etag-save ./vendor/ag.etags --etag-compare ./vendor/ag.etags --create-dirs --remote-name --output-dir ./vendor/bin --no-progress-meter -- https://github.com/ApiGen/ApiGen/releases/latest/download/apigen.phar && php ./vendor/bin/apigen.phar --output docs -- src",
4748
"lint": "./scripts/lint",
4849
"test": "./scripts/test"
4950
}

src/Beta/Files/FileDeleteParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
/**
1414
* Delete File.
1515
*
16+
* @see Anthropic\Beta\Files->delete
17+
*
1618
* @phpstan-type file_delete_params = array{betas?: list<AnthropicBeta::*|string>}
1719
*/
1820
final class FileDeleteParams implements BaseModel

src/Beta/Files/FileListParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
/**
1414
* List Files.
1515
*
16+
* @see Anthropic\Beta\Files->list
17+
*
1618
* @phpstan-type file_list_params = array{
1719
* afterID?: string,
1820
* beforeID?: string,

src/Beta/Files/FileRetrieveMetadataParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
/**
1414
* Get File Metadata.
1515
*
16+
* @see Anthropic\Beta\Files->retrieveMetadata
17+
*
1618
* @phpstan-type file_retrieve_metadata_params = array{
1719
* betas?: list<AnthropicBeta::*|string>
1820
* }

src/Beta/Messages/Batches/BatchCancelParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
*
1818
* Learn more about the Message Batches API in our [user guide](/en/docs/build-with-claude/batch-processing)
1919
*
20+
* @see Anthropic\Beta\Messages\Batches->cancel
21+
*
2022
* @phpstan-type batch_cancel_params = array{betas?: list<AnthropicBeta::*|string>}
2123
*/
2224
final class BatchCancelParams implements BaseModel

src/Beta/Messages/Batches/BatchCreateParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
*
1919
* Learn more about the Message Batches API in our [user guide](/en/docs/build-with-claude/batch-processing)
2020
*
21+
* @see Anthropic\Beta\Messages\Batches->create
22+
*
2123
* @phpstan-type batch_create_params = array{
2224
* requests: list<Request>, betas?: list<AnthropicBeta::*|string>
2325
* }

src/Beta/Messages/Batches/BatchDeleteParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
*
1818
* Learn more about the Message Batches API in our [user guide](/en/docs/build-with-claude/batch-processing)
1919
*
20+
* @see Anthropic\Beta\Messages\Batches->delete
21+
*
2022
* @phpstan-type batch_delete_params = array{betas?: list<AnthropicBeta::*|string>}
2123
*/
2224
final class BatchDeleteParams implements BaseModel

src/Beta/Messages/Batches/BatchListParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*
1616
* Learn more about the Message Batches API in our [user guide](/en/docs/build-with-claude/batch-processing)
1717
*
18+
* @see Anthropic\Beta\Messages\Batches->list
19+
*
1820
* @phpstan-type batch_list_params = array{
1921
* afterID?: string,
2022
* beforeID?: string,

src/Beta/Messages/Batches/BatchResultsParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
*
1818
* Learn more about the Message Batches API in our [user guide](/en/docs/build-with-claude/batch-processing)
1919
*
20+
* @see Anthropic\Beta\Messages\Batches->results
21+
*
2022
* @phpstan-type batch_results_params = array{
2123
* betas?: list<AnthropicBeta::*|string>
2224
* }

0 commit comments

Comments
 (0)