Add some PHP 8.3-only features.

This commit is contained in:
James Cole
2023-12-02 12:56:48 +01:00
parent 2b0a3ec818
commit b02a61dfbd
54 changed files with 350 additions and 348 deletions

View File

@@ -41,8 +41,8 @@ use League\Fractal\Resource\Item;
*/
class PreferencesController extends Controller
{
public const DATE_FORMAT = 'Y-m-d';
public const RESOURCE_KEY = 'preferences';
public const string DATE_FORMAT = 'Y-m-d';
public const string RESOURCE_KEY = 'preferences';
/**
* This endpoint is documented at: