Version 5.0.0 beta 5

This commit is contained in:
Neo committed 2025-12-19 17:04:22 -08:00
1 parent 2f24f9de48
commit 57d9db6ce2
218 files changed
+5331 -7416

No files matched your search

+3 -2
View File
@@ -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;
}
+2 -3
View File
@@ -15,7 +15,6 @@ namespace IPS\Extensions;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Member\Club;
use IPS\Node\Model;
use RuntimeException;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
@@ -28,8 +27,8 @@ abstract class ClubAbstract
/**
* Tabs
*
* @param \IPS\Member\Club $club The club
* @param \IPS\Node\Model $container Container
* @param Club $club The club
* @param Model|null $container Container
* @return array
*/
abstract public function tabs( Club $club, ?Model $container = NULL ): array;