From cf3943bc08842cd098ad3f7d4f4d440b66f44e4a Mon Sep 17 00:00:00 2001 From: Younes ENNAJI Date: Sun, 20 Oct 2024 15:05:07 +0100 Subject: [PATCH] fix: phpstan return type --- package-lock.json | 2 +- src/Laravel/Phpstan/stubs/Repository.stub | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 24040d9f..31aca6f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1967,7 +1967,7 @@ }, "node_modules/@clack/prompts/node_modules/is-unicode-supported": { "version": "1.3.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { diff --git a/src/Laravel/Phpstan/stubs/Repository.stub b/src/Laravel/Phpstan/stubs/Repository.stub index 4bc2dd80..43d7eb7c 100644 --- a/src/Laravel/Phpstan/stubs/Repository.stub +++ b/src/Laravel/Phpstan/stubs/Repository.stub @@ -46,7 +46,7 @@ interface Repository * ($key is 'flasher.plugins' ? array : * ($key is 'flasher.flash_bag' ? array : * ($key is 'flasher.excluded_paths' ? list : - * mixed))))))) + * mixed)))))))) */ public function get(string|array $key, mixed $default = null): mixed; }