Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WP Mail
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Library
WP Mail
Merge requests
!2
Devel
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Devel
devel
into
main
Overview
44
Commits
35
Pipelines
34
Changes
26
Merged
Piotr Potrebka
requested to merge
devel
into
main
2 years ago
Overview
44
Commits
35
Pipelines
34
Changes
1
Expand
👍
0
👎
0
Merge request reports
Viewing commit
867d3d33
Prev
Next
Show latest version
1 file
+
1
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
867d3d33
feat: email abstract
· 867d3d33
Piotr Potrebka
authored
2 years ago
src/Abstracts/EmailAbstract.php
+
1
−
12
Options
@@ -271,18 +271,7 @@ abstract class EmailAbstract implements EmailInterface {
* @throws Exception
*/
public
function
get_content
():
string
{
if
(
!
$this
->
content
)
{
throw
new
Exception
(
'Empty email content'
);
}
return
''
;
}
/**
* @return mixed
*/
public
function
get_object
()
{
return
''
;
return
$this
->
content
;
}
Loading