Passed
Branch master (07a307)
by Henri
02:44 queued 01:18
created
src/CrudTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         }
25 25
 
26 26
         if(!Connect::getInstance()->inTransaction()){
27
-           return Connect::getInstance()->beginTransaction();
27
+            return Connect::getInstance()->beginTransaction();
28 28
         }
29 29
 
30 30
         switch ($transaction) {
Please login to merge, or discard this patch.
src/Datamanager.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
             $this->check_fail();
388 388
 
389 389
             $this->transaction('commit');
390
-        }catch(Exception $er){
390
+        } catch(Exception $er){
391 391
             $this->transaction('rollback');
392 392
             throw $er;
393 393
         }
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
             
427 427
             $this->transaction('commit');
428 428
 
429
-        }catch(Exception $er){
429
+        } catch(Exception $er){
430 430
             $this->transaction('rollback');
431 431
             throw $er;
432 432
         }
Please login to merge, or discard this patch.