Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | 8 | public function execute(): bool |
|
18 | { |
||
19 | try { |
||
20 | 8 | $this->client->deleteTable($this->toArray()); |
|
21 | //$this->client->waitUntil('TableExists', ['TableName' => $this->tableName]); |
||
22 | 7 | return true; |
|
23 | 1 | } catch (DynamoDbException $ex) { |
|
24 | 1 | throw new Exception($ex->getMessage()); |
|
25 | } |
||
28 |