diff options
-rw-r--r-- | app/Models/Bookmark.php | 2 | ||||
-rw-r--r-- | app/Models/BookmarkCategory.php | 2 | ||||
-rw-r--r-- | app/Models/Project.php | 2 | ||||
-rw-r--r-- | app/Models/ProjectCategory.php | 2 | ||||
-rw-r--r-- | config/bookmarks.php | 4 | ||||
-rw-r--r-- | config/projects.php | 4 |
6 files changed, 12 insertions, 4 deletions
diff --git a/app/Models/Bookmark.php b/app/Models/Bookmark.php index f679205..3396242 100644 --- a/app/Models/Bookmark.php +++ b/app/Models/Bookmark.php @@ -1,4 +1,6 @@ <?php +namespace App\Models; + class Bookmark { /** * @var string The name of the bookmark. diff --git a/app/Models/BookmarkCategory.php b/app/Models/BookmarkCategory.php index 0f2335d..10c031a 100644 --- a/app/Models/BookmarkCategory.php +++ b/app/Models/BookmarkCategory.php @@ -1,4 +1,6 @@ <?php +namespace App\Models; + class BookmarkCategory { /** * @var string The name of the bookmark category. diff --git a/app/Models/Project.php b/app/Models/Project.php index 0b90828..183877e 100644 --- a/app/Models/Project.php +++ b/app/Models/Project.php @@ -1,4 +1,6 @@ <?php +namespace App\Models; + class Project { /** * @var string The name of the project. diff --git a/app/Models/ProjectCategory.php b/app/Models/ProjectCategory.php index babe265..3b15f51 100644 --- a/app/Models/ProjectCategory.php +++ b/app/Models/ProjectCategory.php @@ -1,4 +1,6 @@ <?php +namespace App\Models; + class ProjectCategory { /** * @var string The name of the bookmark category. diff --git a/config/bookmarks.php b/config/bookmarks.php index 3138d69..cd23ece 100644 --- a/config/bookmarks.php +++ b/config/bookmarks.php @@ -1,6 +1,6 @@ <?php -include 'app/Models/Bookmark.php'; -include 'app/Models/BookmarkCategory.php'; +use App\Models\Bookmark; +use App\Models\BookmarkCategory; return [ new BookmarkCategory("Friends' Websites", [ diff --git a/config/projects.php b/config/projects.php index 4a523fa..8a50970 100644 --- a/config/projects.php +++ b/config/projects.php @@ -1,6 +1,6 @@ <?php -include 'app/Models/Project.php'; -include 'app/Models/ProjectCategory.php'; +use App\Models\Project; +use App\Models\ProjectCategory; return [ new ProjectCategory("Websites", [ |