Release 2.38.0 (#5563)

This commit is contained in:
Kevin Papst
2025-08-08 23:25:42 +02:00
committed by GitHub
parent f3890691ce
commit 04331420ae
88 changed files with 1319 additions and 697 deletions

View File

@@ -9,7 +9,10 @@
namespace App\Model;
class PermissionSection implements PermissionSectionInterface
/**
* @final with 3.0
*/
class PermissionSection implements PermissionSectionInterface // @phpstan-ignore class.implementsDeprecatedInterface
{
/** @var array<string> */
private array $filter;
@@ -17,7 +20,7 @@ class PermissionSection implements PermissionSectionInterface
/**
* @param string|array<string> $filter
*/
public function __construct(private string $title, string|array $filter)
public function __construct(private readonly string $title, string|array $filter)
{
if (!\is_array($filter)) {
$filter = [$filter];

View File

@@ -9,6 +9,9 @@
namespace App\Model;
/**
* @deprecated since 2.38 - use PermissionSection directly
*/
interface PermissionSectionInterface
{
/**