Test Failed
Branch feature/dynamodb (3e8935)
by Csaba
02:57
created
src/Database/DynamoDb/Resource.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Aws\DynamoDb\Marshaler;
7 7
 use Fathomminds\Rest\Exceptions\RestException;
8 8
 use Fathomminds\Rest\Contracts\IResource;
9
-use Fathomminds\Rest\Helpers\Uuid;
10 9
 use Aws\DynamoDb\Exception\DynamoDbException;
11 10
 
12 11
 class Resource implements IResource
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
         return $query;
86 86
     }
87 87
 
88
+    /**
89
+     * @param DynamoDbException $ex
90
+     */
88 91
     protected function throwAwsPostError($ex)
89 92
     {
90 93
         switch ($ex->getAwsErrorCode()) {
@@ -122,6 +125,9 @@  discard block
 block discarded – undo
122 125
         return $query;
123 126
     }
124 127
 
128
+    /**
129
+     * @param DynamoDbException $ex
130
+     */
125 131
     protected function throwAwsPutError($ex)
126 132
     {
127 133
         switch ($ex->getAwsErrorCode()) {
Please login to merge, or discard this patch.