Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-notice
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-notice
Merge requests
!9
Feature/wpdesk notices action
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Feature/wpdesk notices action
feature/wpdesk-notices-action
into
master
Overview
3
Commits
15
Pipelines
1
Changes
18
All threads resolved!
Hide all comments
Merged
Krzysztof Dyszczyk
requested to merge
feature/wpdesk-notices-action
into
master
6 years ago
Overview
3
Commits
15
Pipelines
1
Changes
18
All threads resolved!
Hide all comments
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ff4f0109
15 commits,
6 years ago
18 files
+
607
−
359
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
src/WPDesk/Notice/Factory.php
+
3
−
3
View file @ ff4f0109
Edit in single-file editor
Open in Web IDE
Show full file
@@ -23,7 +23,7 @@ class Factory
*/
public
static
function
notice
(
$noticeContent
=
''
,
$noticeType
=
'info'
,
$isDismissible
=
false
,
$priority
=
10
)
{
return
new
Notice
(
$notice
Type
,
$notice
Content
,
$isDismissible
,
$priority
);
return
new
Notice
(
$notice
Content
,
$notice
Type
,
$isDismissible
,
$priority
);
}
/**
@@ -38,11 +38,11 @@ class Factory
*/
public
static
function
permanentDismissibleNotice
(
$noticeContent
=
''
,
$noticeType
=
''
,
$noticeName
=
''
,
$noticeType
=
''
,
$priority
=
10
)
{
return
new
PermanentDismissibleNotice
(
$noticeType
,
$noticeContent
,
$noticeName
,
$priority
);
return
new
PermanentDismissibleNotice
(
$noticeContent
,
$noticeName
,
$noticeType
,
$priority
);
}
}
Loading