Skip to content

Commit 0a4de9c

Browse files
committed
修正
1 parent c843103 commit 0a4de9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/model/concern/AutoWriteData.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ protected function getDateTime(string $field)
104104
return $value;
105105
}
106106

107-
public function getAutoWriteTimestamp(): bool
107+
public function getAutoWriteTimestamp()
108108
{
109-
return $this->getOption('autoWriteTimestamp') ? true : false;
109+
return $this->getOption('autoWriteTimestamp');
110110
}
111111

112112
public function isAutoWriteTimestamp(bool $auto)

0 commit comments

Comments
 (0)