We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb26eaa commit 06316feCopy full SHA for 06316fe
src/Result/TableExistsWaiter.php
@@ -16,8 +16,11 @@ class TableExistsWaiter extends Waiter
16
17
protected function extractState(Response $response, ?HttpException $exception): string
18
{
19
- if (200 === $response->getStatusCode() && 'ACTIVE' === ($response->toArray()['Table']['TableStatus'] ?? null)) {
20
- return self::STATE_SUCCESS;
+ if (200 === $response->getStatusCode()) {
+ $a = $response->toArray()['Table']['TableStatus'] ?? null;
21
+ if ('ACTIVE' === $a) {
22
+ return self::STATE_SUCCESS;
23
+ }
24
}
25
26
if (null !== $exception && 'ResourceNotFoundException' === $exception->getAwsCode()) {
0 commit comments