mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Fix closure warnings (#2087)
This commit is contained in:
parent
90e41635ed
commit
49d9093e44
4 changed files with 19 additions and 38 deletions
|
|
@ -67,7 +67,7 @@ class SubStreams
|
|||
|
||||
$sHashName = \MailSo\Base\Utils::Md5Rand();
|
||||
|
||||
self::$aStreams[$sHashName] = array_map(function($mItem) {
|
||||
self::$aStreams[$sHashName] = \array_map(function ($mItem) {
|
||||
return \is_resource($mItem) ? $mItem :
|
||||
\MailSo\Base\ResourceRegistry::CreateMemoryResourceFromString($mItem);
|
||||
}, $aSubStreams);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue