We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db84e65 commit 543ccdbCopy full SHA for 543ccdb
src/Qiniu/Auth.php
@@ -121,7 +121,7 @@ public function uploadToken(
121
private static function copyPolicy(&$policy, $originPolicy, $strictPolicy)
122
{
123
if ($originPolicy === null) {
124
- return [];
+ return array();
125
}
126
foreach ($originPolicy as $key => $value) {
127
if (in_array((string) $key, self::$deprecatedPolicyFields, true)) {
0 commit comments