Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Aug 12, 2022
1 parent 52210ea commit 58b3dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function __construct(string $modelClass, bool $inherit = false)
$this->sqlColumns = AnnotationManager::getPropertiesAnnotations($realModelClass, Sql::class);
$this->bean = $entity->bean;
$parsedSerializableFieldNames = [];
foreach ($serializableFieldNames as $name)
foreach ($serializableFieldNames as $fieldName => $name)
{
if (isset($serializableSets[$fieldName]))
{
Expand Down

0 comments on commit 58b3dd5

Please sign in to comment.