Skip to content

Commit

Permalink
BUG #20991: Strict standards (function signatures)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenguest committed Dec 11, 2015
1 parent 1ae4305 commit 057a9f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PEAR/Task/Postinstallscript.php
Expand Up @@ -292,11 +292,12 @@ public function _stripNamespace($params = null)
*
* @param mixed $pkg PEAR_PackageFile_v1|PEAR_PackageFile_v2
* @param string $contents file name
* @param string $dest the eventual final file location (informational only)
*
* @return bool|PEAR_Error false to skip this file, PEAR_Error to fail
* (use $this->throwError)
*/
public function startSession($pkg, $contents)
public function startSession($pkg, $contents, $dest = null)
{
if ($this->installphase != PEAR_TASK_INSTALL) {
return false;
Expand Down Expand Up @@ -343,7 +344,7 @@ public function startSession($pkg, $contents)
* @param string install or upgrade
* @access protected
*/
public static function run()
public static function run($tasks = null)
{
}
}

0 comments on commit 057a9f6

Please sign in to comment.