Passed
Push — master ( 0d7615...e53071 )
by Csaba
38s
created
src/Database/DynamoDb/Resource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         } catch (DynamoDbException $ex) {
116 116
             $this->throwAwsPutError($ex);
117 117
         } catch (\Exception $ex) {
118
-            throw new RestException($ex->getMessage(), ['result'=>empty($res)?null:$res]);
118
+            throw new RestException($ex->getMessage(), ['result'=>empty($res) ? null : $res]);
119 119
         }
120 120
         return $newResource;
121 121
     }
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             $res = $this->client->deleteItem($query);
128 128
             return $resourceId;
129 129
         } catch (\Exception $ex) {
130
-            throw new RestException($ex->getMessage(), ['result'=>empty($res)?null:$res]);
130
+            throw new RestException($ex->getMessage(), ['result'=>empty($res) ? null : $res]);
131 131
         }
132 132
     }
133 133
 }
Please login to merge, or discard this patch.