Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

Commit aaaa5de

Browse files
authored
Merge pull request #108 from satoved/patch-3
Import DateTime
2 parents cab3f37 + c63173d commit aaaa5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Youtube.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ public function saveAccessTokenToDB($accessToken)
363363
{
364364
return DB::table('youtube_access_tokens')->insert([
365365
'access_token' => json_encode($accessToken),
366-
'created_at' => (new DateTime())->setTimestamp($accessToken['created']),
366+
'created_at' => (new \DateTime())->setTimestamp($accessToken['created']),
367367
]);
368368
}
369369

0 commit comments

Comments
 (0)