Skip to content

Commit cb743b6

Browse files
hemanth132jitendra-1217
authored andcommitted
fix indentation issues
1 parent 8ee1a1e commit cb743b6

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

src/TransactionHandler.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ protected function transactionCommitted(Connection $connection)
186186
$level = count($this->transactions) - $level;
187187
$this->pendingHandlers[$level] = array_merge($this->pendingHandlers[$level] ?? [], $pendingHandlers);
188188

189-
if ($this->isDebugMode() === true)
190-
{
189+
if ($this->isDebugMode() === true) {
191190
$debugData['new_level_after_shifting'] = $level;
192191
$debugData['pending_handlers_new_level'] = count($this->pendingHandlers[$level]);
193192
}
@@ -224,13 +223,10 @@ protected function getLimitedStackTrace()
224223
{
225224
$backTrace = debug_backtrace();
226225
$traceData = [];
227-
foreach ($backTrace as $trace)
228-
{
229-
if (isset($trace['class']) === true)
230-
{
226+
foreach ($backTrace as $trace) {
227+
if (isset($trace['class']) === true) {
231228
$function = $trace['class']. $trace['type']. $trace['function'];
232-
} else
233-
{
229+
} else {
234230
$function = $trace['function'];
235231
}
236232

0 commit comments

Comments
 (0)