Skip to content
Snippets Groups Projects
Commit 9cbae43b authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

PhpDocs refactoring.

parent f66d5953
No related branches found
No related tags found
1 merge request!4Feature/factory
Pipeline #7612 passed
...@@ -7,6 +7,9 @@ use WPDesk\PluginBuilder\Plugin\PluginAccess; ...@@ -7,6 +7,9 @@ use WPDesk\PluginBuilder\Plugin\PluginAccess;
/** /**
* Class AjaxHandler * Class AjaxHandler
*
* AjaxHandler for dismissible notices.
*
* @package WPDesk\Notice * @package WPDesk\Notice
*/ */
class AjaxHandler implements HookablePluginDependant class AjaxHandler implements HookablePluginDependant
......
...@@ -4,6 +4,8 @@ namespace WPDesk\Notice; ...@@ -4,6 +4,8 @@ namespace WPDesk\Notice;
/** /**
* Class Factory * Class Factory
*
* Factory for notices.
* @package WPDesk\Notice * @package WPDesk\Notice
*/ */
class Factory class Factory
......
...@@ -4,6 +4,8 @@ namespace WPDesk\Notice; ...@@ -4,6 +4,8 @@ namespace WPDesk\Notice;
/** /**
* Class Notice * Class Notice
*
* WordPress admin notice.
* @package WPDesk\Notice * @package WPDesk\Notice
*/ */
class Notice class Notice
......
...@@ -4,6 +4,8 @@ namespace WPDesk\Notice; ...@@ -4,6 +4,8 @@ namespace WPDesk\Notice;
/** /**
* Class PermanentDismissibleNotice * Class PermanentDismissibleNotice
*
* WordPress admin dismissible notice.
* @package WPDesk\Notice * @package WPDesk\Notice
*/ */
class PermanentDismissibleNotice extends Notice class PermanentDismissibleNotice extends Notice
......
...@@ -18,6 +18,8 @@ function WPDeskNotice($noticeContent, $noticeType = 'info', $dismissible = false ...@@ -18,6 +18,8 @@ function WPDeskNotice($noticeContent, $noticeType = 'info', $dismissible = false
/** /**
* Creates Notice. * Creates Notice.
* *
* Alias for {@see WPDeskNotice()} function.
*
* @param string $noticeContent Notice content. * @param string $noticeContent Notice content.
* @param string $noticeType Notice type. * @param string $noticeType Notice type.
* @param bool $dismissible Dismissible notice. * @param bool $dismissible Dismissible notice.
...@@ -47,6 +49,8 @@ function WPDeskPermanentDismissibleNotice($noticeContent, $noticeType = 'info', ...@@ -47,6 +49,8 @@ function WPDeskPermanentDismissibleNotice($noticeContent, $noticeType = 'info',
/** /**
* Creates Permanent Dismissible Notice. * Creates Permanent Dismissible Notice.
* *
* Alias for {@see WPDeskPermanentDismissibleNotice()} function.
*
* @param string $noticeContent Notice content. * @param string $noticeContent Notice content.
* @param string $noticeType Notice type. * @param string $noticeType Notice type.
* @param int $priority Notice priority. * @param int $priority Notice priority.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment