fix: class errors

This commit is contained in:
floppydiskette 2023-06-14 23:24:47 +01:00
parent 20e394e9f2
commit e5ac640025
No known key found for this signature in database
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", [