Skip to content

Commit

Permalink
chore: misc fixes to allow for docs generation (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Nov 5, 2024
1 parent ab7f04f commit 64bcd08
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"language": "php",
"distribution_name": "google/gax",
"release_level": "stable",
"client_documentation": "https://cloud.google.com/php/docs/reference/gax/latest",
"library_type": "CORE"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ more convenient and idiomatic API surface to callers.

## PHP Versions

gax-php currently requires PHP 5.6 or higher.
gax-php currently requires PHP 8.0 or higher.

## Contributing

Expand Down
10 changes: 5 additions & 5 deletions src/Options/CallOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
use ArrayAccess;
use Google\ApiCore\CredentialsWrapper;
use Google\ApiCore\RetrySettings;
use Google\ApiCore\TransportInterface;

/**
* The CallOptions class provides typing to the associative array of options
* passed to transport RPC methods. See {@see TransportInterface::startUnaryCall()},
* {@see TransportInterface::startBidiStreamingCall()},
* {@see TransportInterface::startClientStreamingCall()}, and
* {@see TransportInterface::startServerStreamingCall()}.
* passed to transport RPC methods. See
* {@see \Google\ApiCore\Transport\TransportInterface::startUnaryCall()},
* {@see \Google\ApiCore\Transport\TransportInterface::startBidiStreamingCall()},
* {@see \Google\ApiCore\Transport\TransportInterface::startClientStreamingCall()}, and
* {@see \Google\ApiCore\Transport\TransportInterface::startServerStreamingCall()}.
*/
class CallOptions implements ArrayAccess
{
Expand Down
3 changes: 2 additions & 1 deletion src/Options/ClientOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
/**
* The ClientOptions class adds typing to the associative array of options
* passed into each API client constructor. To use this class directly, pass
* the result of {@see ClientOptions::toArray} to the client constructor:
* the result of {@see \Google\ApiCore\Options\ClientOptions::toArray()} to the
* client constructor:
*
* ```
* use Google\ApiCore\ClientOptions;
Expand Down

0 comments on commit 64bcd08

Please sign in to comment.