mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-03-03 03:07:01 +00:00
Fixes for prop types for secure context
This commit is contained in:
@@ -23,7 +23,7 @@ trait WithSecureContext
|
||||
* @throws \Psr\Container\ContainerExceptionInterface
|
||||
* @throws \Psr\Container\NotFoundExceptionInterface
|
||||
*/
|
||||
public function getContext(string $key): mixed
|
||||
public function getContext(?string $key): mixed
|
||||
{
|
||||
$context = \Illuminate\Support\Facades\Cache::get($key) ?? [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user