chore(refactor): refactor events

This commit is contained in:
Miguel Nogueira 2023-07-01 22:36:58 +01:00
parent a99689006b
commit 498534e9c0
4 changed files with 12 additions and 12 deletions

View File

@ -30,7 +30,7 @@ class ApplicationApprovedEvent
{ {
use Dispatchable, InteractsWithSockets, SerializesModels; use Dispatchable, InteractsWithSockets, SerializesModels;
public $application; public Application $application;
/** /**
* Create a new event instance. * Create a new event instance.

View File

@ -30,7 +30,7 @@ class ApplicationDeniedEvent
{ {
use Dispatchable, InteractsWithSockets, SerializesModels; use Dispatchable, InteractsWithSockets, SerializesModels;
public $application; public Application $application;
/** /**
* Create a new event instance. * Create a new event instance.

View File

@ -31,9 +31,9 @@ class UserBannedEvent
{ {
use Dispatchable, InteractsWithSockets, SerializesModels; use Dispatchable, InteractsWithSockets, SerializesModels;
public $user; public User $user;
public $ban; public Ban $ban;
/** /**
* Create a new event instance. * Create a new event instance.

16
composer.lock generated
View File

@ -9088,22 +9088,22 @@
}, },
{ {
"name": "composer/class-map-generator", "name": "composer/class-map-generator",
"version": "1.0.0", "version": "1.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/class-map-generator.git", "url": "https://github.com/composer/class-map-generator.git",
"reference": "1e1cb2b791facb2dfe32932a7718cf2571187513" "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/class-map-generator/zipball/1e1cb2b791facb2dfe32932a7718cf2571187513", "url": "https://api.github.com/repos/composer/class-map-generator/zipball/953cc4ea32e0c31f2185549c7d216d7921f03da9",
"reference": "1e1cb2b791facb2dfe32932a7718cf2571187513", "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"composer/pcre": "^2 || ^3", "composer/pcre": "^2.1 || ^3.1",
"php": "^7.2 || ^8.0", "php": "^7.2 || ^8.0",
"symfony/finder": "^4.4 || ^5.3 || ^6" "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7"
}, },
"require-dev": { "require-dev": {
"phpstan/phpstan": "^1.6", "phpstan/phpstan": "^1.6",
@ -9141,7 +9141,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/composer/class-map-generator/issues", "issues": "https://github.com/composer/class-map-generator/issues",
"source": "https://github.com/composer/class-map-generator/tree/1.0.0" "source": "https://github.com/composer/class-map-generator/tree/1.1.0"
}, },
"funding": [ "funding": [
{ {
@ -9157,7 +9157,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-06-19T11:31:27+00:00" "time": "2023-06-30T13:58:57+00:00"
}, },
{ {
"name": "composer/pcre", "name": "composer/pcre",