Skip to content

Commit

Permalink
Update CS dependencies (#1688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse committed Mar 19, 2024
1 parent 9678dbc commit 22b556f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Input/QueryRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class QueryRequest extends Input
* Unique, case-sensitive string of up to 64 ASCII characters specified when a `Query` request is made. Providing a
* `ClientToken` makes the call to `Query`*idempotent*. This means that running the same query repeatedly will produce
* the same result. In other words, making multiple identical `Query` requests has the same effect as making a single
* request. When using `ClientToken` in a query, note the following:.
* request. When using `ClientToken` in a query, note the following:
*
* - If the Query API is instantiated without a `ClientToken`, the Query SDK generates a `ClientToken` on your behalf.
* - If the `Query` invocation only contains the `ClientToken` but does not include a `NextToken`, that invocation of
Expand Down Expand Up @@ -62,7 +62,7 @@ final class QueryRequest extends Input

/**
* The total number of rows to be returned in the `Query` output. The initial run of `Query` with a `MaxRows` value
* specified will return the result set of the query in two cases:.
* specified will return the result set of the query in two cases:
*
* - The size of the result is less than `1MB`.
* - The number of rows in the result set is less than the value of `maxRows`.
Expand Down
4 changes: 3 additions & 1 deletion src/ValueObject/Datum.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace AsyncAws\TimestreamQuery\ValueObject;

use AsyncAws\TimestreamQuery\ValueObject\Datum as Datum1;

/**
* Datum represents a single data point in a query result.
*/
Expand Down Expand Up @@ -55,7 +57,7 @@ public function __construct(array $input)
{
$this->scalarValue = $input['ScalarValue'] ?? null;
$this->timeSeriesValue = isset($input['TimeSeriesValue']) ? array_map([TimeSeriesDataPoint::class, 'create'], $input['TimeSeriesValue']) : null;
$this->arrayValue = isset($input['ArrayValue']) ? array_map([Datum::class, 'create'], $input['ArrayValue']) : null;
$this->arrayValue = isset($input['ArrayValue']) ? array_map([Datum1::class, 'create'], $input['ArrayValue']) : null;
$this->rowValue = isset($input['RowValue']) ? Row::create($input['RowValue']) : null;
$this->nullValue = $input['NullValue'] ?? null;
}
Expand Down

0 comments on commit 22b556f

Please sign in to comment.