Skip to content

Commit ae3942f

Browse files
authored
Update Driver.php
解决写入类型是数字,读出是数字字符串问题
1 parent cf9dcfe commit ae3942f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Driver.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,6 @@ public function getTagKey(string $tag): string
233233
*/
234234
protected function serialize($data): string
235235
{
236-
if (is_numeric($data)) {
237-
return (string) $data;
238-
}
239-
240236
$serialize = $this->options['serialize'][0] ?? "serialize";
241237

242238
return $serialize($data);

0 commit comments

Comments
 (0)