Skip to content

Commit

Permalink
Docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
maiorano84 committed Apr 23, 2015
1 parent db22991 commit 7ed1dce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Exceptions/ShortcodeDeregisterException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
*/
class ShortcodeDeregisterException extends ShortcodeException
{
/**
* @const string
*/
const MISSING = 'The shortcode \'%s\' does not exist in the current library';
}
7 changes: 7 additions & 0 deletions src/Exceptions/ShortcodeRegisterException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
*/
class ShortcodeRegisterException extends ShortcodeException
{
/**
* @const string
*/
const DUPLICATE = 'The shortcode \'%s\' has already been registered';

/**
* @const string
*/
const MISSING = 'No shortcode with identifier \'%s\' has been registered';
}

0 comments on commit 7ed1dce

Please sign in to comment.