Remove paramter that only appears to illustrate the fact more parameters can be added and causes an E_STRICT level error.
This commit is contained in:
parent
a07bdfe216
commit
cc9a75d77e
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ class FileRepoStatus extends Status {
|
|||
/**
|
||||
* Factory function for fatal errors
|
||||
*/
|
||||
static function newFatal( $repo, $message /*, parameters...*/ ) {
|
||||
static function newFatal( $repo /*, parameters...*/ ) {
|
||||
$params = array_slice( func_get_args(), 1 );
|
||||
$result = new self( $repo );
|
||||
call_user_func_array( array( &$result, 'error' ), $params );
|
||||
|
|
|
|||
Loading…
Reference in a new issue