Add type hints for Laravel 10

This commit is contained in:
Shift
2024-02-16 21:13:13 +00:00
parent 8725493fcf
commit 2cb837e4b5
44 changed files with 82 additions and 79 deletions

View File

@@ -22,7 +22,7 @@ class AppServiceProvider extends ServiceProvider
*
* @return void
*/
public function boot()
public function boot(): void
{
if (! class_exists('ZipArchive')) {
die('You are missing php-zip');
@@ -122,7 +122,7 @@ class AppServiceProvider extends ServiceProvider
*
* @return void
*/
public function register()
public function register(): void
{
if ($this->app->isLocal()) {
$this->app->register(IdeHelperServiceProvider::class);