@@ -251,9 +251,9 @@ discard block |
||
251 | 251 | if (TargetKind::BATCH() == $request->getTargetKind()) { |
252 | 252 | //dd($request); |
253 | 253 | $this->getProvidersWrapper()->startTransaction(); |
254 | - try{ |
|
254 | + try { |
|
255 | 255 | $this->handleBatchRequest($request); |
256 | - }catch(\Exception $ex){ |
|
256 | + } catch (\Exception $ex) { |
|
257 | 257 | $this->getProvidersWrapper()->rollBackTransaction(); |
258 | 258 | throw $ex; |
259 | 259 | } |
@@ -711,7 +711,7 @@ discard block |
||
711 | 711 | */ |
712 | 712 | protected function compareETag( |
713 | 713 | &$entryObject, |
714 | - ResourceType &$resourceType, |
|
714 | + ResourceType & $resourceType, |
|
715 | 715 | &$needToSerializeResponse |
716 | 716 | ) { |
717 | 717 | $needToSerializeResponse = true; |
@@ -805,7 +805,7 @@ discard block |
||
805 | 805 | * for use in a URI) there are etag properties, NULL if |
806 | 806 | * there is no etag property |
807 | 807 | */ |
808 | - protected function getETagForEntry(&$entryObject, ResourceType &$resourceType) |
|
808 | + protected function getETagForEntry(&$entryObject, ResourceType & $resourceType) |
|
809 | 809 | { |
810 | 810 | $eTag = null; |
811 | 811 | $comma = null; |
@@ -251,9 +251,9 @@ |
||
251 | 251 | if (TargetKind::BATCH() == $request->getTargetKind()) { |
252 | 252 | //dd($request); |
253 | 253 | $this->getProvidersWrapper()->startTransaction(); |
254 | - try{ |
|
254 | + try { |
|
255 | 255 | $this->handleBatchRequest($request); |
256 | - }catch(\Exception $ex){ |
|
256 | + } catch(\Exception $ex) { |
|
257 | 257 | $this->getProvidersWrapper()->rollBackTransaction(); |
258 | 258 | throw $ex; |
259 | 259 | } |