File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -848,7 +848,7 @@ public function transBegin(bool $testMode = false): bool
848
848
// Reset the transaction failure flag.
849
849
// If the $test_mode flag is set to TRUE transactions will be rolled back
850
850
// even if the queries produce a successful result.
851
- $ this ->transFailure = ( $ testMode) ;
851
+ $ this ->transFailure = $ testMode ;
852
852
853
853
if ($ this ->_transBegin ()) {
854
854
$ this ->transDepth ++;
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ public function connect(bool $persistent = false)
96
96
$ port = null ;
97
97
$ socket = $ this ->hostname ;
98
98
} else {
99
- $ hostname = ( $ persistent) ? 'p: ' . $ this ->hostname : $ this ->hostname ;
99
+ $ hostname = $ persistent ? 'p: ' . $ this ->hostname : $ this ->hostname ;
100
100
$ port = empty ($ this ->port ) ? null : $ this ->port ;
101
101
$ socket = '' ;
102
102
}
You can’t perform that action at this time.
0 commit comments