fix: class errors
This commit is contained in:
parent
20e394e9f2
commit
e5ac640025
6 changed files with 12 additions and 4 deletions
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
class Bookmark {
|
||||
/**
|
||||
* @var string The name of the bookmark.
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
class BookmarkCategory {
|
||||
/**
|
||||
* @var string The name of the bookmark category.
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
class Project {
|
||||
/**
|
||||
* @var string The name of the project.
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
class ProjectCategory {
|
||||
/**
|
||||
* @var string The name of the bookmark category.
|
||||
|
|
|
@ -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", [
|
||||
|
|
|
@ -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", [
|
||||
|
|
Loading…
Reference in a new issue