Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
301
Merge Requests
39
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
27039ee4
Commit
27039ee4
authored
17 minutes ago
by
Ben Hayward
Browse files
Options
Download
Added description getter and setters for images
parent
5da3afd4
fix/spam-detection-webm-1193
1 merge request
!412
[Sprint/SillySheep](fix): Failing spam detection causing issues when uploading webm media #1193
Pipeline
#100319702
failed with stages
in 2 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
Entities/Image.php
View file @
27039ee4
...
...
@@ -386,4 +386,24 @@ class Image extends File
$this
->
time_sent
=
$time_sent
;
return
$this
;
}
/**
* Return description
* @return string
*/
public
function
getDescription
()
:
string
{
return
$this
->
description
?:
''
;
}
/**
* Set description
* @return Image
*/
public
function
setDescription
(
$description
)
:
Video
{
$this
->
description
=
$description
;
return
$this
;
}
}
This diff is collapsed.
Please
register
or
sign in
to comment