Skip to content

Commit

Permalink
Return datetime interface.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 4, 2018
1 parent 5d4afee commit 5c80bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Casts/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected function fromCast($value)
*
* @param mixed $value
*
* @return \Carbon\Carbon
* @return \DateTimeInterface
*/
protected function toCast($value)
{
Expand Down

0 comments on commit 5c80bec

Please sign in to comment.