Skip to content

Commit

Permalink
changed method visibility
Browse files Browse the repository at this point in the history
this should not belong to exposed interface as it is only used
internally by transaction() method.

additional change to yiisoft#13346
  • Loading branch information
cebe committed Mar 10, 2017
1 parent 9fa66b2 commit 7d4b33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/db/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ public function transaction(callable $callback, $isolationLevel = null)
* @param Transaction $transaction Transaction object given from [[beginTransaction()]].
* @param int $level Transaction level just after [[beginTransaction()]] call.
*/
protected function rollbackTransactionOnLevel($transaction, $level)
private function rollbackTransactionOnLevel($transaction, $level)
{
if ($transaction->isActive && $transaction->level === $level) {
// https://github.com/yiisoft/yii2/pull/13347
Expand Down

0 comments on commit 7d4b33a

Please sign in to comment.