This commit is contained in:
2021-03-16 10:44:57 +08:00
parent e98bbc0a31
commit 21be67ea4e
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -268,9 +268,6 @@ class ActiveRecord extends BaseActiveRecord
public function toArray(): array
{
$data = $this->_attributes;
var_dump($this->getAnnotation(self::ANNOTATION_GET));
foreach ($this->getAnnotation(self::ANNOTATION_GET) as $key => $item) {
if (!isset($data[$key])) continue;