]> BookStack Code Mirror - bookstack/blobdiff - app/SocialAccount.php
Add Carbon localization support
[bookstack] / app / SocialAccount.php
index 2e526ecc413fd4bfba373497d3b129b46faa2b55..e7c9b4cc5fb7c05b90d8c7f08ce7eee4fd5ac86d 100644 (file)
@@ -1,8 +1,5 @@
-<?php
+<?php namespace BookStack;
 
-namespace Oxbow;
-
-use Illuminate\Database\Eloquent\Model;
 
 class SocialAccount extends Model
 {
@@ -11,6 +8,6 @@ class SocialAccount extends Model
 
     public function user()
     {
-        return $this->belongsTo('Oxbow\User');
+        return $this->belongsTo(User::class);
     }
 }