Version 5.0.0 beta 5
This commit is contained in:
1 parent
2f24f9de48
commit
57d9db6ce2
218 files changed
+5331
-7416
No files matched your search
@@ -14,7 +14,6 @@ namespace IPS\Extensions;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
use IPS\core\Approval;
|
||||
use RuntimeException;
|
||||
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
@@ -33,9 +32,11 @@ abstract class ApprovalReasonAbstract
|
||||
|
||||
/**
|
||||
* Parse Reason
|
||||
* Return an array with 2 elements: lang (the language string to use)
|
||||
* and sprintf (an array of replacements)
|
||||
*
|
||||
* @param Approval $approval Approval row
|
||||
* @return array<lang,sprintf>
|
||||
* @return array
|
||||
*/
|
||||
abstract public function parseReason( Approval $approval ): array;
|
||||
}
|
||||
Reference in new issue
Block a user