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
|
<?php
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
class Bookmark {
|
class Bookmark {
|
||||||
/**
|
/**
|
||||||
* @var string The name of the bookmark.
|
* @var string The name of the bookmark.
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
class BookmarkCategory {
|
class BookmarkCategory {
|
||||||
/**
|
/**
|
||||||
* @var string The name of the bookmark category.
|
* @var string The name of the bookmark category.
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
class Project {
|
class Project {
|
||||||
/**
|
/**
|
||||||
* @var string The name of the project.
|
* @var string The name of the project.
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
class ProjectCategory {
|
class ProjectCategory {
|
||||||
/**
|
/**
|
||||||
* @var string The name of the bookmark category.
|
* @var string The name of the bookmark category.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
include 'app/Models/Bookmark.php';
|
use App\Models\Bookmark;
|
||||||
include 'app/Models/BookmarkCategory.php';
|
use App\Models\BookmarkCategory;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
new BookmarkCategory("Friends' Websites", [
|
new BookmarkCategory("Friends' Websites", [
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
include 'app/Models/Project.php';
|
use App\Models\Project;
|
||||||
include 'app/Models/ProjectCategory.php';
|
use App\Models\ProjectCategory;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
new ProjectCategory("Websites", [
|
new ProjectCategory("Websites", [
|
||||||
|
|
Loading…
Reference in a new issue