Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51d1084 + 733492c commit 2dab1e5Copy full SHA for 2dab1e5
1 file changed
src/Illuminate/Database/Eloquent/Model.php
@@ -1420,11 +1420,11 @@ public function getQualifiedDeletedAtColumn()
1420
/**
1421
* Get a fresh timestamp for the model.
1422
*
1423
- * @return DateTime
+ * @return Carbon
1424
*/
1425
public function freshTimestamp()
1426
{
1427
- return new DateTime;
+ return new Carbon;
1428
}
1429
1430
0 commit comments