Skip to content

Commit

Permalink
Remove unused parameter; fix indention, again.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 6, 2017
1 parent 1c8c93d commit 7724fa7
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -76,10 +76,10 @@ public function run()
continue;
}
// Constructors need to be swapped.
$this->_swapCtors($ctor5, $start, $ctor4, $extends);
$this->_swapCtors($ctor5, $start, $ctor4);
} else {
// Create new BC constructors.
$this->_createPhp5Ctor($ctor4, $start, $extends);
$this->_createPhp5Ctor($ctor4, $extends);
}
}
}
Expand Down Expand Up @@ -160,7 +160,7 @@ protected function _createPhp5Ctor($ctor4, $extends)
// Replace the PHP 4 constructor body with a call to the PHP 5
// constructor.
$function = $function->splice(0, 0, array("\n\n "));
$function->append(' $this->__construct(');
$function->append('$this->__construct(');

// Transfer function parameters.
$this->_tokens->seek($ctor4);
Expand Down

0 comments on commit 7724fa7

Please sign in to comment.