Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 333416 Details for
Bug 448750
dev-php/PEAR-Mail: Fix non-static function warning
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Declare the factory function static
PEAR-Mail-static-factory-fix.patch (text/plain), 445 bytes, created by
Michael Orlitzky
on 2012-12-27 01:14:10 UTC
(
hide
)
Description:
Declare the factory function static
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2012-12-27 01:14:10 UTC
Size:
445 bytes
patch
obsolete
>diff --git a/Mail.php b/Mail.php >index 75132ac..53865d0 100755 >--- a/Mail.php >+++ b/Mail.php >@@ -71,7 +71,7 @@ class Mail > * @return object Mail a instance of the driver class or if fails a PEAR Error > * @access public > */ >- function &factory($driver, $params = array()) >+ static function &factory($driver, $params = array()) > { > $driver = strtolower($driver); > @include_once 'Mail/' . $driver . '.php';
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 448750
: 333416