ComposerUpdate

This commit is contained in:
Anyon 2020-11-05 18:36:48 +08:00
parent b16d4d9c3a
commit 03d88048bc
3 changed files with 6 additions and 6 deletions

View File

@ -941,12 +941,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "baae4158f9d045299e9c6d8f7dba8bddafbf15f0"
"reference": "6d7c8ac778d356e21222c6015260246a55433507"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/baae4158f9d045299e9c6d8f7dba8bddafbf15f0",
"reference": "baae4158f9d045299e9c6d8f7dba8bddafbf15f0",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/6d7c8ac778d356e21222c6015260246a55433507",
"reference": "6d7c8ac778d356e21222c6015260246a55433507",
"shasum": "",
"mirrors": [
{
@ -963,7 +963,7 @@
"ext-mbstring": "*",
"topthink/framework": "^6.0"
},
"time": "2020-11-05T04:10:07+00:00",
"time": "2020-11-05T09:27:54+00:00",
"type": "library",
"extra": {
"think": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php
// This file is automatically generated at:2020-11-05 14:53:51
// This file is automatically generated at:2020-11-05 18:36:10
declare (strict_types = 1);
return array (
0 => 'think\\admin\\Library',

View File

@ -169,7 +169,7 @@ if (!function_exists('arr2str')) {
*/
function arr2str(array $data, string $separ = ',', ?array $allow = null)
{
$temp = $data;
$temp = [];
if (is_array($allow)) foreach ($data as $item) {
if (in_array($item, $allow)) $temp[] = $item;
}