Passed
Push — master ( 7671ca...14da8a )
by Csaba
44s
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 $exception
90
+     */
88 91
     protected function throwAwsPostError($exception)
89 92
     {
90 93
         switch ($exception->getAwsErrorCode()) {
@@ -121,6 +124,9 @@  discard block
 block discarded – undo
121 124
         return $query;
122 125
     }
123 126
 
127
+    /**
128
+     * @param DynamoDbException $exception
129
+     */
124 130
     protected function throwAwsPutError($exception)
125 131
     {
126 132
         switch ($exception->getAwsErrorCode()) {
Please login to merge, or discard this patch.