Test Failed
Branch feature/dynamodb (3e8935)
by Csaba
02:57
created
src/Database/DynamoDb/Resource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         } catch (DynamoDbException $ex) {
146 146
             $this->throwAwsPutError($ex);
147 147
         } catch (\Exception $ex) {
148
-            throw new RestException($ex->getMessage(), ['result'=>empty($res)?null:$res]);
148
+            throw new RestException($ex->getMessage(), ['result'=>empty($res) ? null : $res]);
149 149
         }
150 150
     }
151 151
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             $res = $this->client->deleteItem($query);
168 168
             return $resourceId;
169 169
         } catch (\Exception $ex) {
170
-            throw new RestException($ex->getMessage(), ['result'=>empty($res)?null:$res]);
170
+            throw new RestException($ex->getMessage(), ['result'=>empty($res) ? null : $res]);
171 171
         }
172 172
     }
173 173
 
Please login to merge, or discard this patch.