mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Bugfix: SASL::factory() should not return void
This commit is contained in:
parent
52abb3cf48
commit
be855b36f1
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ abstract class SASL
|
|||
return false;
|
||||
}
|
||||
|
||||
final public static function factory(string $type) : void
|
||||
final public static function factory(string $type)
|
||||
{
|
||||
if (\preg_match('/^([A-Z2]+)(?:-(.+))?$/Di', $type, $m)) {
|
||||
$class = __CLASS__ . "\\{$m[1]}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue