fix: class errors

This commit is contained in:
Roscoe 2023-06-14 23:24:47 +01:00
parent ad7f3fca65
commit 606c641558
6 changed files with 12 additions and 4 deletions

View file

@ -1,4 +1,6 @@
<?php
namespace App\Models;
class Bookmark {
/**
* @var string The name of the bookmark.

View file

@ -1,4 +1,6 @@
<?php
namespace App\Models;
class BookmarkCategory {
/**
* @var string The name of the bookmark category.

View file

@ -1,4 +1,6 @@
<?php
namespace App\Models;
class Project {
/**
* @var string The name of the project.

View file

@ -1,4 +1,6 @@
<?php
namespace App\Models;
class ProjectCategory {
/**
* @var string The name of the bookmark category.

View file

@ -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", [

View file

@ -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", [