Passed
Pull Request — master (#187)
by Christopher
03:21
created
src/POData/BaseService.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -251,9 +251,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -251,9 +251,9 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.