diff --git a/app/Actions/AttemptToAuthenticateSocialite.php b/app/Actions/AttemptToAuthenticateSocialite.php index e387e0a3c..0705b36f9 100644 --- a/app/Actions/AttemptToAuthenticateSocialite.php +++ b/app/Actions/AttemptToAuthenticateSocialite.php @@ -29,8 +29,6 @@ class AttemptToAuthenticateSocialite /** * Create a new action instance. * - * @param \Illuminate\Contracts\Auth\StatefulGuard $guard - * @param \Laravel\Fortify\LoginRateLimiter $limiter * @return void */ public function __construct( @@ -42,8 +40,6 @@ class AttemptToAuthenticateSocialite /** * Handle the incoming request. * - * @param \Illuminate\Http\Request $request - * @param callable $next * @return mixed */ public function handle(Request $request, callable $next) @@ -65,9 +61,6 @@ class AttemptToAuthenticateSocialite /** * Get the provider. - * - * @param string $driver - * @return \Laravel\Socialite\Contracts\Provider */ private function getSocialiteProvider(string $driver): Provider { @@ -82,11 +75,6 @@ class AttemptToAuthenticateSocialite /** * Authenticate the user. - * - * @param \Illuminate\Http\Request $request - * @param string $driver - * @param \Laravel\Socialite\Contracts\User $socialite - * @return User */ private function authenticateUser(Request $request, string $driver, SocialiteUser $socialite): User { @@ -111,11 +99,6 @@ class AttemptToAuthenticateSocialite /** * Check if the user is logged in and if the user is the same as the one. - * - * @param \Illuminate\Http\Request $request - * @param \App\Models\User $user - * @param string $driver - * @return void */ private function checkUserAssociation(Request $request, User $user, string $driver): void { @@ -126,9 +109,6 @@ class AttemptToAuthenticateSocialite /** * Get authenticated user. - * - * @param SocialiteUser $socialite - * @return User */ private function getUserOrCreate(SocialiteUser $socialite): User { @@ -141,9 +121,6 @@ class AttemptToAuthenticateSocialite /** * Create new user. - * - * @param SocialiteUser $socialite - * @return User */ private function createUser(SocialiteUser $socialite): User { @@ -163,11 +140,6 @@ class AttemptToAuthenticateSocialite /** * Create the user token register. - * - * @param User $user - * @param string $driver - * @param SocialiteUser $socialite - * @return UserToken */ private function createUserToken(User $user, string $driver, SocialiteUser $socialite): UserToken { @@ -197,10 +169,7 @@ class AttemptToAuthenticateSocialite /** * Throw a failed authentication validation exception. * - * @param \Illuminate\Http\Request $request - * @param string $driver * @param string $message - * @return void * * @throws \Illuminate\Validation\ValidationException */ @@ -217,10 +186,6 @@ class AttemptToAuthenticateSocialite /** * Fire the failed authentication attempt event with the given arguments. - * - * @param \Illuminate\Http\Request $request - * @param User|null $user - * @return void */ protected function fireFailedEvent(Request $request, ?User $user = null): void { @@ -231,10 +196,6 @@ class AttemptToAuthenticateSocialite /** * Get the two factor authentication enabled response. - * - * @param \Illuminate\Http\Request $request - * @param User|null $user - * @return \Symfony\Component\HttpFoundation\Response */ protected function twoFactorChallengeResponse(Request $request, ?User $user): Response { diff --git a/app/Actions/AttemptToAuthenticateWebauthn.php b/app/Actions/AttemptToAuthenticateWebauthn.php index 5b1e1455d..d38c77d8a 100644 --- a/app/Actions/AttemptToAuthenticateWebauthn.php +++ b/app/Actions/AttemptToAuthenticateWebauthn.php @@ -16,8 +16,6 @@ class AttemptToAuthenticateWebauthn /** * Create a new controller instance. * - * @param \Illuminate\Contracts\Auth\StatefulGuard $guard - * @param \LaravelWebauthn\Services\LoginRateLimiter $limiter * @return void */ public function __construct( @@ -29,7 +27,6 @@ class AttemptToAuthenticateWebauthn /** * Handle the incoming request. * - * @param \Illuminate\Http\Request $request * @param callable $next * @return mixed */ @@ -47,10 +44,6 @@ class AttemptToAuthenticateWebauthn /** * Attempt to log the user into the application. - * - * @param array $challenge - * @param bool $remember - * @return bool */ protected function attemptLogin(array $challenge, bool $remember = false): bool { @@ -59,9 +52,6 @@ class AttemptToAuthenticateWebauthn /** * Attempt to validate assertion for authenticated user. - * - * @param \Illuminate\Http\Request $request - * @return bool */ protected function attemptValidateAssertion(Request $request): bool { @@ -87,7 +77,6 @@ class AttemptToAuthenticateWebauthn /** * Throw a failed authentication validation exception. * - * @param \Illuminate\Http\Request $request * @return void * * @throws \Illuminate\Validation\ValidationException @@ -104,8 +93,6 @@ class AttemptToAuthenticateWebauthn /** * Fire the failed authentication attempt event with the given arguments. * - * @param \Illuminate\Http\Request $request - * @param \Illuminate\Contracts\Auth\Authenticatable|null $user * @return void */ protected function fireFailedEvent(Request $request, ?Authenticatable $user = null) @@ -119,9 +106,6 @@ class AttemptToAuthenticateWebauthn /** * Get array of webauthn credentials. - * - * @param \Illuminate\Http\Request $request - * @return array */ protected function filterCredentials(Request $request): array { diff --git a/app/Actions/Fortify/CreateNewUser.php b/app/Actions/Fortify/CreateNewUser.php index e62fb451f..24ed7840a 100644 --- a/app/Actions/Fortify/CreateNewUser.php +++ b/app/Actions/Fortify/CreateNewUser.php @@ -15,9 +15,6 @@ class CreateNewUser implements CreatesNewUsers /** * Validate and create a newly registered user. - * - * @param array $input - * @return \App\Models\User */ public function create(array $input): User { diff --git a/app/Actions/Fortify/PasswordValidationRules.php b/app/Actions/Fortify/PasswordValidationRules.php index aab4cdaa5..48ab6d606 100644 --- a/app/Actions/Fortify/PasswordValidationRules.php +++ b/app/Actions/Fortify/PasswordValidationRules.php @@ -9,9 +9,6 @@ trait PasswordValidationRules { /** * Get the validation rules used to validate passwords. - * - * @param bool $confirmed - * @return array */ protected function passwordRules(bool $confirmed = true): array { diff --git a/app/Actions/Fortify/RedirectIfTwoFactorAuthenticatable.php b/app/Actions/Fortify/RedirectIfTwoFactorAuthenticatable.php index 9b3b4bd27..495bbfca7 100644 --- a/app/Actions/Fortify/RedirectIfTwoFactorAuthenticatable.php +++ b/app/Actions/Fortify/RedirectIfTwoFactorAuthenticatable.php @@ -17,8 +17,6 @@ class RedirectIfTwoFactorAuthenticatable /** * Create a new action instance. * - * @param \Illuminate\Contracts\Auth\StatefulGuard $guard - * @param \Laravel\Fortify\LoginRateLimiter $limiter * @return void */ public function __construct( @@ -30,8 +28,6 @@ class RedirectIfTwoFactorAuthenticatable /** * Handle the incoming request. * - * @param \Illuminate\Http\Request $request - * @param Closure $next * @return mixed */ public function handle(Request $request, Closure $next) @@ -48,9 +44,6 @@ class RedirectIfTwoFactorAuthenticatable /** * Attempt to validate the incoming credentials. - * - * @param \Illuminate\Http\Request $request - * @return User|null */ protected function validateCredentials(Request $request): ?User { @@ -66,8 +59,6 @@ class RedirectIfTwoFactorAuthenticatable /** * Throw a failed authentication validation exception. * - * @param \Illuminate\Http\Request $request - * @return void * * @throws \Illuminate\Validation\ValidationException */ @@ -82,10 +73,6 @@ class RedirectIfTwoFactorAuthenticatable /** * Fire the failed authentication attempt event with the given arguments. - * - * @param \Illuminate\Http\Request $request - * @param User|null $user - * @return void */ protected function fireFailedEvent(Request $request, ?User $user = null): void { @@ -98,8 +85,6 @@ class RedirectIfTwoFactorAuthenticatable /** * Get the two factor authentication enabled response. * - * @param \Illuminate\Http\Request $request - * @param User|null $user * @return \Symfony\Component\HttpFoundation\Response */ protected function twoFactorChallengeResponse(Request $request, ?User $user) diff --git a/app/Actions/Fortify/ResetUserPassword.php b/app/Actions/Fortify/ResetUserPassword.php index a1e811b8b..86e38cc4f 100644 --- a/app/Actions/Fortify/ResetUserPassword.php +++ b/app/Actions/Fortify/ResetUserPassword.php @@ -14,7 +14,6 @@ class ResetUserPassword implements ResetsUserPasswords * Validate and reset the user's forgotten password. * * @param mixed $user - * @param array $input * @return void */ public function reset($user, array $input) diff --git a/app/Actions/Fortify/UpdateUserPassword.php b/app/Actions/Fortify/UpdateUserPassword.php index 690f32438..d61f767d6 100644 --- a/app/Actions/Fortify/UpdateUserPassword.php +++ b/app/Actions/Fortify/UpdateUserPassword.php @@ -14,7 +14,6 @@ class UpdateUserPassword implements UpdatesUserPasswords * Validate and update the user's password. * * @param mixed $user - * @param array $input * @return void */ public function update($user, array $input) diff --git a/app/Actions/Fortify/UpdateUserProfileInformation.php b/app/Actions/Fortify/UpdateUserProfileInformation.php index d782481b3..9f9cc8bb6 100644 --- a/app/Actions/Fortify/UpdateUserProfileInformation.php +++ b/app/Actions/Fortify/UpdateUserProfileInformation.php @@ -13,7 +13,6 @@ class UpdateUserProfileInformation implements UpdatesUserProfileInformation * Validate and update the given user's profile information. * * @param mixed $user - * @param array $input * @return void */ public function update($user, array $input) @@ -42,8 +41,6 @@ class UpdateUserProfileInformation implements UpdatesUserProfileInformation * Update the given verified user's profile information. * * @param mixed $user - * @param array $input - * @return void */ protected function updateVerifiedUser($user, array $input): void { diff --git a/app/Actions/Jetstream/UserProfile.php b/app/Actions/Jetstream/UserProfile.php index c7c832eea..e68dcec17 100644 --- a/app/Actions/Jetstream/UserProfile.php +++ b/app/Actions/Jetstream/UserProfile.php @@ -9,10 +9,6 @@ class UserProfile { /** * Get user profile data. - * - * @param \Illuminate\Http\Request $request - * @param array $data - * @return array */ public function __invoke(Request $request, array $data): array { diff --git a/app/Console/Commands/SetupApplication.php b/app/Console/Commands/SetupApplication.php index 3bbfbd6f9..20f37439d 100644 --- a/app/Console/Commands/SetupApplication.php +++ b/app/Console/Commands/SetupApplication.php @@ -48,8 +48,6 @@ class SetupApplication extends Command /** * Clear or rebuild all cache. - * - * @return void */ protected function resetCache(): void { @@ -60,8 +58,6 @@ class SetupApplication extends Command /** * Clear configuration. - * - * @return void */ protected function clearConfig(): void { @@ -78,8 +74,6 @@ class SetupApplication extends Command /** * Cache configuration. - * - * @return void */ protected function cacheConfig(): void { @@ -92,8 +86,6 @@ class SetupApplication extends Command /** * Symlink storage to public. - * - * @return void */ protected function symlink(): void { @@ -106,8 +98,6 @@ class SetupApplication extends Command /** * Run migrations. - * - * @return void */ protected function migrate(): void { @@ -116,8 +106,6 @@ class SetupApplication extends Command /** * Configure scout. - * - * @return void */ protected function scout(): void { @@ -126,8 +114,6 @@ class SetupApplication extends Command /** * Regenerate api documentation. - * - * @return void */ protected function documentation(): void { diff --git a/app/Console/Commands/SetupDocumentation.php b/app/Console/Commands/SetupDocumentation.php index bedb18e0b..f119b52f3 100644 --- a/app/Console/Commands/SetupDocumentation.php +++ b/app/Console/Commands/SetupDocumentation.php @@ -42,8 +42,6 @@ class SetupDocumentation extends Command /** * Regenerate api documentation. - * - * @return void */ protected function documentation(): void { diff --git a/app/Console/Commands/SetupDummyAccount.php b/app/Console/Commands/SetupDummyAccount.php index e87ddaddd..b1116fc00 100644 --- a/app/Console/Commands/SetupDummyAccount.php +++ b/app/Console/Commands/SetupDummyAccount.php @@ -54,8 +54,6 @@ class SetupDummyAccount extends Command /** * Execute the console command. - * - * @return void */ public function handle(): void { diff --git a/app/Console/Commands/SetupScout.php b/app/Console/Commands/SetupScout.php index 886201fef..96689f97b 100644 --- a/app/Console/Commands/SetupScout.php +++ b/app/Console/Commands/SetupScout.php @@ -44,8 +44,6 @@ class SetupScout extends Command /** * Configure scout. - * - * @return void */ protected function scoutConfigure(): void { @@ -56,8 +54,6 @@ class SetupScout extends Command /** * Import models. - * - * @return void */ protected function scoutFlush(): void { @@ -73,8 +69,6 @@ class SetupScout extends Command /** * Import models. - * - * @return void */ protected function scoutImport(): void { diff --git a/app/Console/Commands/TestReminders.php b/app/Console/Commands/TestReminders.php index 210c44f2b..31fa9b5ee 100644 --- a/app/Console/Commands/TestReminders.php +++ b/app/Console/Commands/TestReminders.php @@ -31,8 +31,6 @@ class TestReminders extends Command /** * Execute the console command. - * - * @return void */ public function handle(): void { diff --git a/app/Console/Commands/WaitForDb.php b/app/Console/Commands/WaitForDb.php index f22bb5460..e27cc9d20 100644 --- a/app/Console/Commands/WaitForDb.php +++ b/app/Console/Commands/WaitForDb.php @@ -24,9 +24,6 @@ class WaitForDb extends Command /** * Execute the console command. - * - * @param \Illuminate\Database\Connectors\ConnectionFactory $factory - * @return int */ public function handle(ConnectionFactory $factory): int { diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 065210f18..ec66aeaaf 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -25,7 +25,6 @@ class Kernel extends ConsoleKernel /** * Define the application's command schedule. * - * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void * * @codeCoverageIgnore diff --git a/app/Console/Scheduling/CronEvent.php b/app/Console/Scheduling/CronEvent.php index 7ed0308d8..79acdcb04 100644 --- a/app/Console/Scheduling/CronEvent.php +++ b/app/Console/Scheduling/CronEvent.php @@ -35,9 +35,6 @@ class CronEvent /** * Get the command. - * - * @param string $command - * @return self */ public static function command(string $command): self { @@ -59,8 +56,6 @@ class CronEvent /** * Run the command once per hour. - * - * @return self */ public function hourly(): self { @@ -72,8 +67,6 @@ class CronEvent /** * Run the command once per day. - * - * @return self */ public function daily(): self { @@ -85,8 +78,6 @@ class CronEvent /** * Run the command once a week. - * - * @return self */ public function weekly(): self { @@ -98,9 +89,6 @@ class CronEvent /** * Run the command every $minutes. - * - * @param int $minutes - * @return self */ public function minutes(int $minutes): self { @@ -112,8 +100,6 @@ class CronEvent /** * Test if the command is due to run. - * - * @return bool */ public function isDue(): bool { diff --git a/app/Domains/Contact/Dav/Event/TokenDeleteEvent.php b/app/Domains/Contact/Dav/Event/TokenDeleteEvent.php index e0878a002..2e85b3d7e 100644 --- a/app/Domains/Contact/Dav/Event/TokenDeleteEvent.php +++ b/app/Domains/Contact/Dav/Event/TokenDeleteEvent.php @@ -13,7 +13,6 @@ class TokenDeleteEvent /** * Create a new event instance. * - * @param SyncToken $token * @return void * * @codeCoverageIgnore diff --git a/app/Domains/Contact/Dav/ExportVCardResource.php b/app/Domains/Contact/Dav/ExportVCardResource.php index 5efd2a2b1..9bebcc967 100644 --- a/app/Domains/Contact/Dav/ExportVCardResource.php +++ b/app/Domains/Contact/Dav/ExportVCardResource.php @@ -7,9 +7,5 @@ use Sabre\VObject\Component\VCard; interface ExportVCardResource { - /** - * @param Contact $contact - * @param VCard $vcard - */ public function export(Contact $contact, VCard $vcard): void; } diff --git a/app/Domains/Contact/Dav/Exporter.php b/app/Domains/Contact/Dav/Exporter.php index 8f55c24ad..c4a379f39 100644 --- a/app/Domains/Contact/Dav/Exporter.php +++ b/app/Domains/Contact/Dav/Exporter.php @@ -4,10 +4,6 @@ namespace App\Domains\Contact\Dav; abstract class Exporter { - /** - * @param mixed $value - * @return string|null - */ protected function escape(mixed $value): ?string { $value = (string) $value; diff --git a/app/Domains/Contact/Dav/ImportVCardResource.php b/app/Domains/Contact/Dav/ImportVCardResource.php index 5228001d0..b5b502aeb 100644 --- a/app/Domains/Contact/Dav/ImportVCardResource.php +++ b/app/Domains/Contact/Dav/ImportVCardResource.php @@ -10,18 +10,11 @@ interface ImportVCardResource { /** * Set context. - * - * @param ImportVCard $context - * @return self */ public function setContext(ImportVCard $context): self; /** * Import Contact. - * - * @param Contact|null $contact - * @param VCard $vcard - * @return Contact */ public function import(?Contact $contact, VCard $vcard): Contact; } diff --git a/app/Domains/Contact/Dav/Importer.php b/app/Domains/Contact/Dav/Importer.php index 5f6c77a11..e9090c4e8 100644 --- a/app/Domains/Contact/Dav/Importer.php +++ b/app/Domains/Contact/Dav/Importer.php @@ -11,9 +11,6 @@ abstract class Importer implements ImportVCardResource /** * Set context. - * - * @param ImportVCard $context - * @return ImportVCardResource */ public function setContext(ImportVCard $context): ImportVCardResource { @@ -24,8 +21,6 @@ abstract class Importer implements ImportVCardResource /** * Get the account. - * - * @return Account */ protected function account(): Account { @@ -34,9 +29,6 @@ abstract class Importer implements ImportVCardResource /** * Formats and returns a string for DAV Card/Cal. - * - * @param null|string $value - * @return null|string */ protected function formatValue(?string $value): ?string { diff --git a/app/Domains/Contact/Dav/Jobs/CleanSyncToken.php b/app/Domains/Contact/Dav/Jobs/CleanSyncToken.php index b5a66cfa6..57595e03f 100644 --- a/app/Domains/Contact/Dav/Jobs/CleanSyncToken.php +++ b/app/Domains/Contact/Dav/Jobs/CleanSyncToken.php @@ -11,16 +11,10 @@ use Illuminate\Support\Facades\DB; class CleanSyncToken extends QueuableService implements ServiceInterface { - /** - * @var Carbon - */ private Carbon $timefix; /** * Clean token list. - * - * @param array $data - * @return void */ public function execute(array $data): void { @@ -39,11 +33,6 @@ class CleanSyncToken extends QueuableService implements ServiceInterface /** * Handle tokens for a user. - * - * @param int $userId - * @param string $tokenName - * @param string $timestamp - * @return void */ private function handleUserToken(int $userId, string $tokenName, string $timestamp): void { diff --git a/app/Domains/Contact/Dav/Jobs/UpdateVCard.php b/app/Domains/Contact/Dav/Jobs/UpdateVCard.php index 4eb80a4a0..7b9224c71 100644 --- a/app/Domains/Contact/Dav/Jobs/UpdateVCard.php +++ b/app/Domains/Contact/Dav/Jobs/UpdateVCard.php @@ -19,8 +19,6 @@ class UpdateVCard extends QueuableService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -43,8 +41,6 @@ class UpdateVCard extends QueuableService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -57,9 +53,6 @@ class UpdateVCard extends QueuableService implements ServiceInterface /** * Update or create a contact using the VCard data. - * - * @param array $data - * @return void */ public function execute(array $data): void { @@ -86,7 +79,6 @@ class UpdateVCard extends QueuableService implements ServiceInterface * * @param string $cardUri * @param string $cardData - * @return string|null */ private function updateCard($cardUri, $cardData): ?string { diff --git a/app/Domains/Contact/Dav/Order.php b/app/Domains/Contact/Dav/Order.php index 12757292d..21b28e98b 100644 --- a/app/Domains/Contact/Dav/Order.php +++ b/app/Domains/Contact/Dav/Order.php @@ -16,9 +16,6 @@ class Order /** * Get order value from a reflection class. - * - * @param ReflectionClass $class - * @return int */ public static function get(ReflectionClass $class): int { diff --git a/app/Domains/Contact/Dav/Services/ExportVCard.php b/app/Domains/Contact/Dav/Services/ExportVCard.php index 6c421c5a2..fdc90af2a 100644 --- a/app/Domains/Contact/Dav/Services/ExportVCard.php +++ b/app/Domains/Contact/Dav/Services/ExportVCard.php @@ -20,8 +20,6 @@ class ExportVCard extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ class ExportVCard extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -55,9 +51,6 @@ class ExportVCard extends BaseService implements ServiceInterface /** * Export one VCard. - * - * @param array $data - * @return VCard */ public function execute(array $data): VCard { @@ -74,9 +67,6 @@ class ExportVCard extends BaseService implements ServiceInterface /** * Export the contact. - * - * @param Contact $contact - * @return VCard */ private function export(Contact $contact): VCard { diff --git a/app/Domains/Contact/Dav/Services/GetEtag.php b/app/Domains/Contact/Dav/Services/GetEtag.php index b7310ea15..ac6b91e24 100644 --- a/app/Domains/Contact/Dav/Services/GetEtag.php +++ b/app/Domains/Contact/Dav/Services/GetEtag.php @@ -9,8 +9,6 @@ class GetEtag extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class GetEtag extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,9 +35,6 @@ class GetEtag extends BaseService implements ServiceInterface /** * Export etag of the VCard. - * - * @param array $data - * @return string */ public function execute(array $data): string { diff --git a/app/Domains/Contact/Dav/Services/ImportVCard.php b/app/Domains/Contact/Dav/Services/ImportVCard.php index e9ef26e38..5c1562443 100644 --- a/app/Domains/Contact/Dav/Services/ImportVCard.php +++ b/app/Domains/Contact/Dav/Services/ImportVCard.php @@ -30,7 +30,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** @var string */ public const BEHAVIOUR_REPLACE = 'behaviour_replace'; - /** @var array */ protected array $errorResults = [ 'ERROR_PARSER' => 'import_vcard_parse_error', 'ERROR_CONTACT_EXIST' => 'import_vcard_contact_exist', @@ -49,15 +48,11 @@ class ImportVCard extends BaseService implements ServiceInterface /** * The Account id. - * - * @var int */ public int $accountId = 0; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -84,8 +79,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -104,9 +97,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Import one VCard. - * - * @param array $data - * @return array */ public function execute(array $data): array { @@ -123,8 +113,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Clear data. - * - * @return void */ private function clear(): void { @@ -134,8 +122,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Process data importation. * - * @param array $data - * @param Contact|null $contact * @return array */ private function process(array $data, ?Contact $contact): array @@ -164,9 +150,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Read the entry and return a VCard object. - * - * @param array $data - * @return array */ private function getEntry(array $data): array { @@ -190,10 +173,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Process entry importation. * - * @param array $data - * @param Contact|null $contact - * @param VCard $entry - * @param string $vcard * @return array */ private function processEntry(array $data, ?Contact $contact, VCard $entry, string $vcard): array @@ -216,10 +195,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Process entry importation. * - * @param array $data - * @param Contact|null $contact - * @param VCard $entry - * @param string $vcard * @return array */ private function processEntryContact(array $data, ?Contact $contact, VCard $entry, string $vcard): array @@ -256,7 +231,6 @@ class ImportVCard extends BaseService implements ServiceInterface * Only used for report display. * * @param VCard $entry - * @return string */ private function name($entry): string { @@ -279,9 +253,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Check whether a contact has a first name or a nickname. If not, contact * can not be imported. - * - * @param VCard $entry - * @return bool */ private function canImportCurrentEntry(VCard $entry): bool { @@ -291,28 +262,16 @@ class ImportVCard extends BaseService implements ServiceInterface $this->hasFN($entry); } - /** - * @param VCard $entry - * @return bool - */ private function hasFirstnameInN(VCard $entry): bool { return $entry->N !== null && ! empty(Arr::get($entry->N->getParts(), '1')); } - /** - * @param VCard $entry - * @return bool - */ private function hasNICKNAME(VCard $entry): bool { return ! empty((string) $entry->NICKNAME); } - /** - * @param VCard $entry - * @return bool - */ private function hasFN(VCard $entry): bool { return ! empty((string) $entry->FN); @@ -320,9 +279,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Check whether the contact already exists in the database. - * - * @param VCard $entry - * @return Contact|null */ private function getExistingContact(VCard $entry): ?Contact { @@ -337,9 +293,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Search with uuid. - * - * @param VCard $entry - * @return Contact|null */ private function existingUuid(VCard $entry): ?Contact { @@ -353,12 +306,6 @@ class ImportVCard extends BaseService implements ServiceInterface /** * Create the Contact object matching the current entry. - * - * @param Contact|null $contact - * @param VCard $entry - * @param string $vcard - * @param string|null $etag - * @return Contact */ private function importEntry(?Contact $contact, VCard $entry, string $vcard, ?string $etag): Contact { diff --git a/app/Domains/Contact/Dav/Web/Auth/AuthBackend.php b/app/Domains/Contact/Dav/Web/Auth/AuthBackend.php index 5a7952bfd..79c33a292 100644 --- a/app/Domains/Contact/Dav/Web/Auth/AuthBackend.php +++ b/app/Domains/Contact/Dav/Web/Auth/AuthBackend.php @@ -15,16 +15,11 @@ class AuthBackend implements BackendInterface * * The realm is often displayed by browser clients when showing the * authentication dialog. - * - * @var string */ protected string $realm = 'sabre/dav'; /** * Sets the authentication realm for this backend. - * - * @param string $realm - * @return void */ public function setRealm(string $realm): void { @@ -33,10 +28,6 @@ class AuthBackend implements BackendInterface /** * Check Laravel authentication. - * - * @param RequestInterface $request - * @param ResponseInterface $response - * @return array */ public function check(RequestInterface $request, ResponseInterface $response): array { @@ -63,10 +54,6 @@ class AuthBackend implements BackendInterface * WWW-Authenticate headers may already have been set, and you'll want to * append your own WWW-Authenticate header instead of overwriting the * existing one. - * - * @param RequestInterface $request - * @param ResponseInterface $response - * @return void */ public function challenge(RequestInterface $request, ResponseInterface $response): void { diff --git a/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBook.php b/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBook.php index 8c20d3cd5..e0f40fd28 100644 --- a/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBook.php +++ b/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBook.php @@ -8,8 +8,6 @@ class AddressBook extends BaseAddressBook { /** * Returns the last modification date. - * - * @return int|null */ public function getLastModified(): ?int { @@ -30,8 +28,6 @@ class AddressBook extends BaseAddressBook * * If null is returned from this function, the plugin assumes there's no * sync information available. - * - * @return string|null */ public function getSyncToken(): ?string { diff --git a/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBookHome.php b/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBookHome.php index 6429bed85..df106fbb3 100644 --- a/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBookHome.php +++ b/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBookHome.php @@ -8,8 +8,6 @@ class AddressBookHome extends BaseAddressBookHome { /** * Principal uri. - * - * @return string */ private function getPrincipalUri(): string { @@ -21,8 +19,6 @@ class AddressBookHome extends BaseAddressBookHome /** * Returns a list of addressbooks. - * - * @return array */ public function getChildren(): array { diff --git a/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBookRoot.php b/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBookRoot.php index b5976165b..4ed52c2b6 100644 --- a/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBookRoot.php +++ b/app/Domains/Contact/Dav/Web/Backend/CardDAV/AddressBookRoot.php @@ -14,8 +14,6 @@ class AddressBookRoot extends BaseAddressBookRoot * at least contain a uri item. Other properties may or may not be * supplied by the authentication backend. * - * @param array $principal - * @return \Sabre\DAV\INode * * @psalm-suppress ParamNameMismatch */ diff --git a/app/Domains/Contact/Dav/Web/Backend/CardDAV/CardDAVBackend.php b/app/Domains/Contact/Dav/Web/Backend/CardDAV/CardDAVBackend.php index 9e234472f..c2ce60eef 100644 --- a/app/Domains/Contact/Dav/Web/Backend/CardDAV/CardDAVBackend.php +++ b/app/Domains/Contact/Dav/Web/Backend/CardDAV/CardDAVBackend.php @@ -41,8 +41,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport /** * Returns the uri for this backend. - * - * @return string */ public function backendUri(): string { @@ -64,7 +62,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * {http://calendarserver.org/ns/}getctag * * @param string $principalUri - * @return array */ public function getAddressBooksForUser($principalUri): array { @@ -99,8 +96,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport /** * Extension for Calendar objects. - * - * @return string */ public function getExtension(): string { @@ -161,7 +156,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * @param string $syncToken * @param int $syncLevel * @param int|null $limit - * @return array|null */ public function getChangesForAddressBook($addressBookId, $syncToken, $syncLevel, $limit = null): ?array { @@ -170,9 +164,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport /** * Prepare datas for this contact. - * - * @param Contact $contact - * @return array */ public function prepareCard(Contact $contact): array { @@ -211,7 +202,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * Get the new exported version of the object. * * @param mixed $obj contact - * @return string */ protected function refreshObject($obj): string { @@ -228,10 +218,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport /** * Returns the contact for the specific uuid. - * - * @param string|null $collectionId - * @param string $uuid - * @return Contact|null */ public function getObjectUuid(?string $collectionId, string $uuid): ?Contact { @@ -253,7 +239,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport /** * Returns the collection of all active contacts. * - * @param string|null $collectionId * @return \Illuminate\Support\Collection */ public function getObjects(?string $collectionId): Collection @@ -276,7 +261,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport /** * Returns the collection of deleted contacts. * - * @param string|null $collectionId * @return \Illuminate\Support\Collection */ public function getDeletedObjects(?string $collectionId): Collection @@ -313,7 +297,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * This may speed up certain requests, especially with large cards. * * @param mixed $addressbookId - * @return array */ public function getCards($addressbookId): array { @@ -369,7 +352,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * @param mixed $addressBookId * @param string $cardUri * @param string $cardData - * @return string|null */ public function createCard($addressBookId, $cardUri, $cardData): ?string { @@ -399,7 +381,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * @param mixed $addressBookId * @param string $cardUri * @param string|resource $cardData - * @return string|null */ public function updateCard($addressBookId, $cardUri, $cardData): ?string { @@ -428,7 +409,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * * @param mixed $addressBookId * @param string $cardUri - * @return bool */ public function deleteCard($addressBookId, $cardUri): bool { @@ -462,7 +442,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * * @param string $addressBookId * @param \Sabre\DAV\PropPatch $propPatch - * @return bool|null */ public function updateAddressBook($addressBookId, DAV\PropPatch $propPatch): ?bool { @@ -477,7 +456,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * * @param string $principalUri * @param string $url Just the 'basename' of the url. - * @param array $properties * @return int|bool */ public function createAddressBook($principalUri, $url, array $properties) @@ -489,7 +467,6 @@ class CardDAVBackend extends AbstractBackend implements IDAVBackend, SyncSupport * Deletes an entire addressbook and all its contents. * * @param mixed $addressBookId - * @return bool|null */ public function deleteAddressBook($addressBookId): ?bool { diff --git a/app/Domains/Contact/Dav/Web/Backend/IDAVBackend.php b/app/Domains/Contact/Dav/Web/Backend/IDAVBackend.php index 394f88b02..53144f340 100644 --- a/app/Domains/Contact/Dav/Web/Backend/IDAVBackend.php +++ b/app/Domains/Contact/Dav/Web/Backend/IDAVBackend.php @@ -11,32 +11,23 @@ interface IDAVBackend { /** * Returns the uri for this backend. - * - * @return string */ public function backendUri(): string; /** * Returns the object for the specific uuid. * - * @param string|null $collectionId - * @param string $uuid * @return TValue */ public function getObjectUuid(?string $collectionId, string $uuid); /** * Returns the collection of objects. - * - * @param string|null $collectionId - * @return \Illuminate\Support\Collection */ public function getObjects(?string $collectionId): Collection; /** * Returns the extension for this backend. - * - * @return string */ public function getExtension(): string; } diff --git a/app/Domains/Contact/Dav/Web/Backend/SyncDAVBackend.php b/app/Domains/Contact/Dav/Web/Backend/SyncDAVBackend.php index 2037e7c77..96c5a4055 100644 --- a/app/Domains/Contact/Dav/Web/Backend/SyncDAVBackend.php +++ b/app/Domains/Contact/Dav/Web/Backend/SyncDAVBackend.php @@ -13,9 +13,6 @@ trait SyncDAVBackend * * If null is returned from this function, the plugin assumes there's no * sync information available. - * - * @param string|null $collectionId - * @return SyncToken|null */ public function getCurrentSyncToken(?string $collectionId): ?SyncToken { @@ -30,9 +27,6 @@ trait SyncDAVBackend /** * Create or refresh the token if a change happened. - * - * @param string|null $collectionId - * @return SyncToken */ public function refreshSyncToken(?string $collectionId): SyncToken { @@ -47,10 +41,6 @@ trait SyncDAVBackend /** * Get SyncToken by token id. - * - * @param string|null $collectionId - * @param string $syncToken - * @return SyncToken|null */ protected function getSyncToken(?string $collectionId, string $syncToken): ?SyncToken { @@ -65,9 +55,6 @@ trait SyncDAVBackend /** * Create a token with now timestamp. - * - * @param string|null $collectionId - * @return SyncToken */ private function createSyncTokenNow(?string $collectionId): SyncToken { @@ -81,9 +68,6 @@ trait SyncDAVBackend /** * Returns the last modification date. - * - * @param string|null $collectionId - * @return \Carbon\Carbon|null */ public function getLastModified(?string $collectionId): ?Carbon { @@ -141,10 +125,6 @@ trait SyncDAVBackend * return null. * * The limit is 'suggestive'. You are free to ignore it. - * - * @param string $collectionId - * @param string|null $syncToken - * @return array|null */ public function getChanges(string $collectionId, ?string $syncToken): ?array { @@ -173,10 +153,6 @@ trait SyncDAVBackend /** * Get the added objects. - * - * @param \Illuminate\Support\Collection $objs - * @param \Carbon\Carbon|null $timestamp - * @return array */ private function getAdded(Collection $objs, ?Carbon $timestamp): array { @@ -190,10 +166,6 @@ trait SyncDAVBackend /** * Get the modified objects. - * - * @param \Illuminate\Support\Collection $objs - * @param \Carbon\Carbon|null $timestamp - * @return array */ private function getModified(Collection $objs, ?Carbon $timestamp): array { @@ -212,10 +184,6 @@ trait SyncDAVBackend /** * Get the deleted objects. - * - * @param string $collectionId - * @param \Carbon\Carbon|null $timestamp - * @return array */ private function getDeleted(string $collectionId, ?Carbon $timestamp): array { @@ -240,9 +208,6 @@ trait SyncDAVBackend /** * Returns the contact uuid for the specific uri. - * - * @param string $uri - * @return string */ public function getUuid(string $uri): string { @@ -252,8 +217,6 @@ trait SyncDAVBackend /** * Returns the contact for the specific uri. * - * @param string|null $collectionId - * @param string $uri * @return mixed */ public function getObject(?string $collectionId, string $uri) @@ -268,25 +231,17 @@ trait SyncDAVBackend /** * Returns the object for the specific uuid. * - * @param string|null $collectionId - * @param string $uuid * @return mixed */ abstract public function getObjectUuid(?string $collectionId, string $uuid); /** * Returns the collection of objects. - * - * @param string|null $collectionId - * @return \Illuminate\Support\Collection */ abstract public function getObjects(?string $collectionId): Collection; /** * Returns the collection of objects. - * - * @param string|null $collectionId - * @return \Illuminate\Support\Collection */ abstract public function getDeletedObjects(?string $collectionId): Collection; @@ -296,7 +251,6 @@ trait SyncDAVBackend * Get the new exported version of the object. * * @param mixed $obj - * @return string */ abstract protected function refreshObject($obj): string; } diff --git a/app/Domains/Contact/Dav/Web/DAVACL/PrincipalBackend.php b/app/Domains/Contact/Dav/Web/DAVACL/PrincipalBackend.php index 8828dff94..9cc05c978 100644 --- a/app/Domains/Contact/Dav/Web/DAVACL/PrincipalBackend.php +++ b/app/Domains/Contact/Dav/Web/DAVACL/PrincipalBackend.php @@ -24,9 +24,6 @@ class PrincipalBackend extends AbstractBackend /** * Get the principal for user. - * - * @param User $user - * @return string */ public static function getPrincipalUser(User $user): string { @@ -58,7 +55,6 @@ class PrincipalBackend extends AbstractBackend * you have an email address, use this property. * * @param string $prefixPath - * @return array */ public function getPrincipalsByPrefix($prefixPath): array { @@ -73,7 +69,6 @@ class PrincipalBackend extends AbstractBackend * getPrincipalsByPrefix. * * @param string $path - * @return array */ public function getPrincipalByPath($path): array { @@ -100,7 +95,6 @@ class PrincipalBackend extends AbstractBackend * * @param string $path * @param \Sabre\DAV\PropPatch $propPatch - * @return void */ public function updatePrincipal($path, DAV\PropPatch $propPatch): void { @@ -133,7 +127,6 @@ class PrincipalBackend extends AbstractBackend * @param string $prefixPath * @param array $searchProperties * @param string $test - * @return array */ public function searchPrincipals($prefixPath, $searchProperties, $test = 'allof'): array { @@ -165,7 +158,6 @@ class PrincipalBackend extends AbstractBackend * Returns the list of members for a group-principal. * * @param string $principal - * @return array */ public function getGroupMemberSet($principal): array { @@ -183,7 +175,6 @@ class PrincipalBackend extends AbstractBackend * Returns the list of groups a principal is a member of. * * @param string $principal - * @return array */ public function getGroupMembership($principal): array { @@ -196,8 +187,6 @@ class PrincipalBackend extends AbstractBackend * The principals should be passed as a list of uri's. * * @param string $principal - * @param array $members - * @return void */ public function setGroupMemberSet($principal, array $members): void { diff --git a/app/Domains/Contact/Dav/Web/DAVRedirect.php b/app/Domains/Contact/Dav/Web/DAVRedirect.php index 653ab9766..3f2ebaa26 100644 --- a/app/Domains/Contact/Dav/Web/DAVRedirect.php +++ b/app/Domains/Contact/Dav/Web/DAVRedirect.php @@ -19,10 +19,6 @@ class DAVRedirect extends ServerPlugin /** * This method intercepts GET requests to collections and returns the html. - * - * @param RequestInterface $request - * @param ResponseInterface $response - * @return bool */ public function httpGet(RequestInterface $request, ResponseInterface $response): bool { diff --git a/app/Domains/Contact/ManageAvatar/Services/DestroyAvatar.php b/app/Domains/Contact/ManageAvatar/Services/DestroyAvatar.php index fb3993e96..2bb8f6454 100644 --- a/app/Domains/Contact/ManageAvatar/Services/DestroyAvatar.php +++ b/app/Domains/Contact/ManageAvatar/Services/DestroyAvatar.php @@ -14,8 +14,6 @@ class DestroyAvatar extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class DestroyAvatar extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class DestroyAvatar extends BaseService implements ServiceInterface /** * Remove the current file used as avatar and put the default avatar back. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageAvatar/Services/UpdatePhotoAsAvatar.php b/app/Domains/Contact/ManageAvatar/Services/UpdatePhotoAsAvatar.php index 206c0f6d4..13a917eed 100644 --- a/app/Domains/Contact/ManageAvatar/Services/UpdatePhotoAsAvatar.php +++ b/app/Domains/Contact/ManageAvatar/Services/UpdatePhotoAsAvatar.php @@ -17,8 +17,6 @@ class UpdatePhotoAsAvatar extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class UpdatePhotoAsAvatar extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class UpdatePhotoAsAvatar extends BaseService implements ServiceInterface /** * Set the given photo as the contact's avatar. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageCalls/Services/CreateCall.php b/app/Domains/Contact/ManageCalls/Services/CreateCall.php index 7d6ba41f6..32cbf15e6 100644 --- a/app/Domains/Contact/ManageCalls/Services/CreateCall.php +++ b/app/Domains/Contact/ManageCalls/Services/CreateCall.php @@ -15,8 +15,6 @@ class CreateCall extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -38,8 +36,6 @@ class CreateCall extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -53,9 +49,6 @@ class CreateCall extends BaseService implements ServiceInterface /** * Create a call. - * - * @param array $data - * @return Call */ public function execute(array $data): Call { diff --git a/app/Domains/Contact/ManageCalls/Services/DestroyCall.php b/app/Domains/Contact/ManageCalls/Services/DestroyCall.php index bfd1b1997..75ea9c7f8 100644 --- a/app/Domains/Contact/ManageCalls/Services/DestroyCall.php +++ b/app/Domains/Contact/ManageCalls/Services/DestroyCall.php @@ -13,8 +13,6 @@ class DestroyCall extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class DestroyCall extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,8 +40,6 @@ class DestroyCall extends BaseService implements ServiceInterface /** * Destroy a call. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageCalls/Services/UpdateCall.php b/app/Domains/Contact/ManageCalls/Services/UpdateCall.php index da16744f9..a6a70802b 100644 --- a/app/Domains/Contact/ManageCalls/Services/UpdateCall.php +++ b/app/Domains/Contact/ManageCalls/Services/UpdateCall.php @@ -13,8 +13,6 @@ class UpdateCall extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,8 +34,6 @@ class UpdateCall extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -51,9 +47,6 @@ class UpdateCall extends BaseService implements ServiceInterface /** * Update a call. - * - * @param array $data - * @return Call */ public function execute(array $data): Call { diff --git a/app/Domains/Contact/ManageContact/Dav/ExportNames.php b/app/Domains/Contact/ManageContact/Dav/ExportNames.php index 37664ecd2..8e2c97863 100644 --- a/app/Domains/Contact/ManageContact/Dav/ExportNames.php +++ b/app/Domains/Contact/ManageContact/Dav/ExportNames.php @@ -11,10 +11,6 @@ use Sabre\VObject\Component\VCard; #[Order(1)] class ExportNames extends Exporter implements ExportVCardResource { - /** - * @param Contact $contact - * @param VCard $vcard - */ public function export(Contact $contact, VCard $vcard): void { $vcard->remove('FN'); diff --git a/app/Domains/Contact/ManageContact/Dav/ExportTimestamp.php b/app/Domains/Contact/ManageContact/Dav/ExportTimestamp.php index 1d0daf2a3..8c88a0793 100644 --- a/app/Domains/Contact/ManageContact/Dav/ExportTimestamp.php +++ b/app/Domains/Contact/ManageContact/Dav/ExportTimestamp.php @@ -10,10 +10,6 @@ use Sabre\VObject\Component\VCard; #[Order(1000)] class ExportTimestamp implements ExportVCardResource { - /** - * @param Contact $contact - * @param VCard $vcard - */ public function export(Contact $contact, VCard $vcard): void { $vcard->remove('REV'); diff --git a/app/Domains/Contact/ManageContact/Dav/ImportContact.php b/app/Domains/Contact/ManageContact/Dav/ImportContact.php index 6cbeb238a..04ce4e029 100644 --- a/app/Domains/Contact/ManageContact/Dav/ImportContact.php +++ b/app/Domains/Contact/ManageContact/Dav/ImportContact.php @@ -26,10 +26,6 @@ class ImportContact extends Importer implements ImportVCardResource /** * Import Contact - * - * @param Contact|null $contact - * @param VCard $vcard - * @return Contact */ public function import(?Contact $contact, VCard $vcard): Contact { @@ -52,9 +48,6 @@ class ImportContact extends Importer implements ImportVCardResource /** * Get contact data. - * - * @param Contact|null $contact - * @return array */ private function getContactData(?Contact $contact): array { @@ -78,10 +71,6 @@ class ImportContact extends Importer implements ImportVCardResource /** * Import names of the contact. - * - * @param array $contactData - * @param VCard $entry - * @return array */ public function importNames(array $contactData, VCard $entry): array { @@ -98,38 +87,21 @@ class ImportContact extends Importer implements ImportVCardResource return $contactData; } - /** - * @param VCard $entry - * @return bool - */ private function hasFirstnameInN(VCard $entry): bool { return $entry->N !== null && ! empty(Arr::get($entry->N->getParts(), '1')); } - /** - * @param VCard $entry - * @return bool - */ private function hasNICKNAME(VCard $entry): bool { return ! empty((string) $entry->NICKNAME); } - /** - * @param VCard $entry - * @return bool - */ private function hasFN(VCard $entry): bool { return ! empty((string) $entry->FN); } - /** - * @param array $contactData - * @param VCard $entry - * @return array - */ private function importNameFromN(array $contactData, VCard $entry): array { $parts = $entry->N->getParts(); @@ -147,11 +119,6 @@ class ImportContact extends Importer implements ImportVCardResource return $contactData; } - /** - * @param array $contactData - * @param VCard $entry - * @return array - */ private function importNameFromNICKNAME(array $contactData, VCard $entry): array { $contactData['first_name'] = $this->formatValue($entry->NICKNAME); @@ -159,11 +126,6 @@ class ImportContact extends Importer implements ImportVCardResource return $contactData; } - /** - * @param array $contactData - * @param VCard $entry - * @return array - */ private function importNameFromFN(array $contactData, VCard $entry): array { $fullnameParts = preg_split('/\s+/', $entry->FN, 2); @@ -191,10 +153,6 @@ class ImportContact extends Importer implements ImportVCardResource /** * Import uid of the contact. - * - * @param array $contactData - * @param VCard $entry - * @return array */ private function importUid(array $contactData, VCard $entry): array { @@ -207,10 +165,6 @@ class ImportContact extends Importer implements ImportVCardResource /** * Import gender of the contact. - * - * @param array $contactData - * @param VCard $entry - * @return array */ private function importGender(array $contactData, VCard $entry): array { @@ -224,9 +178,6 @@ class ImportContact extends Importer implements ImportVCardResource /** * Get or create the gender called "Vcard" that is associated with all * imported contacts. - * - * @param string $genderCode - * @return Gender */ private function getGender(string $genderCode): Gender { @@ -262,9 +213,6 @@ class ImportContact extends Importer implements ImportVCardResource /** * Get the gender by name. - * - * @param string $name - * @return Gender|null */ private function getGenderByName(string $name): ?Gender { @@ -275,9 +223,6 @@ class ImportContact extends Importer implements ImportVCardResource /** * Get the gender by type. - * - * @param string $type - * @return Gender|null */ private function getGenderByType(string $type): ?Gender { diff --git a/app/Domains/Contact/ManageContact/Services/CopyContactToAnotherVault.php b/app/Domains/Contact/ManageContact/Services/CopyContactToAnotherVault.php index 4c197443e..a2ef93371 100644 --- a/app/Domains/Contact/ManageContact/Services/CopyContactToAnotherVault.php +++ b/app/Domains/Contact/ManageContact/Services/CopyContactToAnotherVault.php @@ -19,8 +19,6 @@ class CopyContactToAnotherVault extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ class CopyContactToAnotherVault extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -50,9 +46,6 @@ class CopyContactToAnotherVault extends BaseService implements ServiceInterface /** * Copy a contact from one vault to another. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageContact/Services/CreateContact.php b/app/Domains/Contact/ManageContact/Services/CreateContact.php index 95d931ac0..315003d2e 100644 --- a/app/Domains/Contact/ManageContact/Services/CreateContact.php +++ b/app/Domains/Contact/ManageContact/Services/CreateContact.php @@ -14,8 +14,6 @@ class CreateContact extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -40,8 +38,6 @@ class CreateContact extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -54,9 +50,6 @@ class CreateContact extends BaseService implements ServiceInterface /** * Create a contact. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageContact/Services/DestroyContact.php b/app/Domains/Contact/ManageContact/Services/DestroyContact.php index 1c4c3e523..5908b6e57 100644 --- a/app/Domains/Contact/ManageContact/Services/DestroyContact.php +++ b/app/Domains/Contact/ManageContact/Services/DestroyContact.php @@ -10,8 +10,6 @@ class DestroyContact extends QueuableService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class DestroyContact extends QueuableService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,8 +36,6 @@ class DestroyContact extends QueuableService implements ServiceInterface /** * Destroy a contact. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageContact/Services/MoveContactToAnotherVault.php b/app/Domains/Contact/ManageContact/Services/MoveContactToAnotherVault.php index db301b867..7172121ac 100644 --- a/app/Domains/Contact/ManageContact/Services/MoveContactToAnotherVault.php +++ b/app/Domains/Contact/ManageContact/Services/MoveContactToAnotherVault.php @@ -17,8 +17,6 @@ class MoveContactToAnotherVault extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class MoveContactToAnotherVault extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class MoveContactToAnotherVault extends BaseService implements ServiceInterface /** * Move a contact from one vault to another. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageContact/Services/ToggleArchiveContact.php b/app/Domains/Contact/ManageContact/Services/ToggleArchiveContact.php index 8d3ff6f47..a70a22fb6 100644 --- a/app/Domains/Contact/ManageContact/Services/ToggleArchiveContact.php +++ b/app/Domains/Contact/ManageContact/Services/ToggleArchiveContact.php @@ -14,8 +14,6 @@ class ToggleArchiveContact extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class ToggleArchiveContact extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class ToggleArchiveContact extends BaseService implements ServiceInterface /** * Toggle the archive state of a contact. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageContact/Services/ToggleFavoriteContact.php b/app/Domains/Contact/ManageContact/Services/ToggleFavoriteContact.php index 70096c6b8..e2edfd81c 100644 --- a/app/Domains/Contact/ManageContact/Services/ToggleFavoriteContact.php +++ b/app/Domains/Contact/ManageContact/Services/ToggleFavoriteContact.php @@ -17,8 +17,6 @@ class ToggleFavoriteContact extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class ToggleFavoriteContact extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,9 +43,6 @@ class ToggleFavoriteContact extends BaseService implements ServiceInterface /** * Toggle the favorite state of a contact for the given user. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageContact/Services/UpdateContact.php b/app/Domains/Contact/ManageContact/Services/UpdateContact.php index 0fa97b799..60fc886a5 100644 --- a/app/Domains/Contact/ManageContact/Services/UpdateContact.php +++ b/app/Domains/Contact/ManageContact/Services/UpdateContact.php @@ -20,8 +20,6 @@ class UpdateContact extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -44,8 +42,6 @@ class UpdateContact extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -59,9 +55,6 @@ class UpdateContact extends BaseService implements ServiceInterface /** * Update a contact. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageContact/Services/UpdateContactTemplate.php b/app/Domains/Contact/ManageContact/Services/UpdateContactTemplate.php index b8df4e7f1..7bd67d29e 100644 --- a/app/Domains/Contact/ManageContact/Services/UpdateContactTemplate.php +++ b/app/Domains/Contact/ManageContact/Services/UpdateContactTemplate.php @@ -13,8 +13,6 @@ class UpdateContactTemplate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class UpdateContactTemplate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class UpdateContactTemplate extends BaseService implements ServiceInterface /** * Update the contact's template. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageContact/Services/UpdateContactView.php b/app/Domains/Contact/ManageContact/Services/UpdateContactView.php index 997fd1bea..21ba94590 100644 --- a/app/Domains/Contact/ManageContact/Services/UpdateContactView.php +++ b/app/Domains/Contact/ManageContact/Services/UpdateContactView.php @@ -12,8 +12,6 @@ class UpdateContactView extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class UpdateContactView extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -43,9 +39,6 @@ class UpdateContactView extends BaseService implements ServiceInterface /** * Increment the number of views on the contact by the given user in the * given vault. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageContactAddresses/Services/AssociateAddressToContact.php b/app/Domains/Contact/ManageContactAddresses/Services/AssociateAddressToContact.php index 47a6c7a95..ed66d21ac 100644 --- a/app/Domains/Contact/ManageContactAddresses/Services/AssociateAddressToContact.php +++ b/app/Domains/Contact/ManageContactAddresses/Services/AssociateAddressToContact.php @@ -17,8 +17,6 @@ class AssociateAddressToContact extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class AssociateAddressToContact extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class AssociateAddressToContact extends BaseService implements ServiceInterface /** * Associate an address to a contact. - * - * @param array $data - * @return Address */ public function execute(array $data): Address { diff --git a/app/Domains/Contact/ManageContactAddresses/Services/RemoveAddressFromContact.php b/app/Domains/Contact/ManageContactAddresses/Services/RemoveAddressFromContact.php index 868b38324..463ebbaac 100644 --- a/app/Domains/Contact/ManageContactAddresses/Services/RemoveAddressFromContact.php +++ b/app/Domains/Contact/ManageContactAddresses/Services/RemoveAddressFromContact.php @@ -17,8 +17,6 @@ class RemoveAddressFromContact extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class RemoveAddressFromContact extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class RemoveAddressFromContact extends BaseService implements ServiceInterface /** * Remove an address from a contact. - * - * @param array $data - * @return Address */ public function execute(array $data): Address { diff --git a/app/Domains/Contact/ManageContactImportantDates/Services/CreateContactImportantDate.php b/app/Domains/Contact/ManageContactImportantDates/Services/CreateContactImportantDate.php index d3586fa00..690652735 100644 --- a/app/Domains/Contact/ManageContactImportantDates/Services/CreateContactImportantDate.php +++ b/app/Domains/Contact/ManageContactImportantDates/Services/CreateContactImportantDate.php @@ -17,8 +17,6 @@ class CreateContactImportantDate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,8 +35,6 @@ class CreateContactImportantDate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -52,9 +48,6 @@ class CreateContactImportantDate extends BaseService implements ServiceInterface /** * Create a contact date. - * - * @param array $data - * @return ContactImportantDate */ public function execute(array $data): ContactImportantDate { diff --git a/app/Domains/Contact/ManageContactImportantDates/Services/DestroyContactImportantDate.php b/app/Domains/Contact/ManageContactImportantDates/Services/DestroyContactImportantDate.php index 0477b00a7..5906542f2 100644 --- a/app/Domains/Contact/ManageContactImportantDates/Services/DestroyContactImportantDate.php +++ b/app/Domains/Contact/ManageContactImportantDates/Services/DestroyContactImportantDate.php @@ -15,8 +15,6 @@ class DestroyContactImportantDate extends BaseService implements ServiceInterfac /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class DestroyContactImportantDate extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,8 +42,6 @@ class DestroyContactImportantDate extends BaseService implements ServiceInterfac /** * Delete a contact address. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageContactImportantDates/Services/UpdateContactImportantDate.php b/app/Domains/Contact/ManageContactImportantDates/Services/UpdateContactImportantDate.php index 9833eeb2c..168dedbaa 100644 --- a/app/Domains/Contact/ManageContactImportantDates/Services/UpdateContactImportantDate.php +++ b/app/Domains/Contact/ManageContactImportantDates/Services/UpdateContactImportantDate.php @@ -17,8 +17,6 @@ class UpdateContactImportantDate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -38,8 +36,6 @@ class UpdateContactImportantDate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -53,9 +49,6 @@ class UpdateContactImportantDate extends BaseService implements ServiceInterface /** * Update a contact date. - * - * @param array $data - * @return ContactImportantDate */ public function execute(array $data): ContactImportantDate { diff --git a/app/Domains/Contact/ManageContactInformation/Services/CreateContactInformation.php b/app/Domains/Contact/ManageContactInformation/Services/CreateContactInformation.php index 4e743fc8d..d408d3d83 100644 --- a/app/Domains/Contact/ManageContactInformation/Services/CreateContactInformation.php +++ b/app/Domains/Contact/ManageContactInformation/Services/CreateContactInformation.php @@ -19,8 +19,6 @@ class CreateContactInformation extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,8 +34,6 @@ class CreateContactInformation extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -51,9 +47,6 @@ class CreateContactInformation extends BaseService implements ServiceInterface /** * Create a contact information. - * - * @param array $data - * @return ContactInformation */ public function execute(array $data): ContactInformation { diff --git a/app/Domains/Contact/ManageContactInformation/Services/DestroyContactInformation.php b/app/Domains/Contact/ManageContactInformation/Services/DestroyContactInformation.php index 45520da23..9c57cd25e 100644 --- a/app/Domains/Contact/ManageContactInformation/Services/DestroyContactInformation.php +++ b/app/Domains/Contact/ManageContactInformation/Services/DestroyContactInformation.php @@ -16,8 +16,6 @@ class DestroyContactInformation extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class DestroyContactInformation extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,8 +43,6 @@ class DestroyContactInformation extends BaseService implements ServiceInterface /** * Destroy a contact information. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageContactInformation/Services/UpdateContactInformation.php b/app/Domains/Contact/ManageContactInformation/Services/UpdateContactInformation.php index 1b5c6b191..0f8c812e9 100644 --- a/app/Domains/Contact/ManageContactInformation/Services/UpdateContactInformation.php +++ b/app/Domains/Contact/ManageContactInformation/Services/UpdateContactInformation.php @@ -16,8 +16,6 @@ class UpdateContactInformation extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class UpdateContactInformation extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class UpdateContactInformation extends BaseService implements ServiceInterface /** * Update a contact information. - * - * @param array $data - * @return ContactInformation */ public function execute(array $data): ContactInformation { diff --git a/app/Domains/Contact/ManageDocuments/Listeners/DeleteFileInStorage.php b/app/Domains/Contact/ManageDocuments/Listeners/DeleteFileInStorage.php index a5830e288..b9b529dcd 100644 --- a/app/Domains/Contact/ManageDocuments/Listeners/DeleteFileInStorage.php +++ b/app/Domains/Contact/ManageDocuments/Listeners/DeleteFileInStorage.php @@ -15,22 +15,16 @@ class DeleteFileInStorage { /** * The file instance. - * - * @var File */ public File $file; /** * The file in Uploadcare instance. - * - * @var FileInfoInterface */ public FileInfoInterface $fileInUploadcare; /** * The API used to query Uploadcare. - * - * @var Api */ public Api $api; @@ -43,8 +37,6 @@ class DeleteFileInStorage /** * Handle the event. - * - * @param FileDeleted $event */ public function handle(FileDeleted $event) { diff --git a/app/Domains/Contact/ManageDocuments/Services/DestroyFile.php b/app/Domains/Contact/ManageDocuments/Services/DestroyFile.php index 993048c7c..e774528c4 100644 --- a/app/Domains/Contact/ManageDocuments/Services/DestroyFile.php +++ b/app/Domains/Contact/ManageDocuments/Services/DestroyFile.php @@ -16,8 +16,6 @@ class DestroyFile extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class DestroyFile extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class DestroyFile extends BaseService implements ServiceInterface /** * Destroy a file. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageDocuments/Services/UploadFile.php b/app/Domains/Contact/ManageDocuments/Services/UploadFile.php index 3d709ebf1..cac656db0 100644 --- a/app/Domains/Contact/ManageDocuments/Services/UploadFile.php +++ b/app/Domains/Contact/ManageDocuments/Services/UploadFile.php @@ -14,8 +14,6 @@ class UploadFile extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ class UploadFile extends BaseService /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -54,9 +50,6 @@ class UploadFile extends BaseService * However, we abstract uploads by the File object. This service here takes * the payload that Uploadcare sends us back, and map it into a File object * that the clients will consume. - * - * @param array $data - * @return File */ public function execute(array $data): File { diff --git a/app/Domains/Contact/ManageGoals/Services/CreateGoal.php b/app/Domains/Contact/ManageGoals/Services/CreateGoal.php index b6556572f..19f2f00b3 100644 --- a/app/Domains/Contact/ManageGoals/Services/CreateGoal.php +++ b/app/Domains/Contact/ManageGoals/Services/CreateGoal.php @@ -16,8 +16,6 @@ class CreateGoal extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class CreateGoal extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,9 +43,6 @@ class CreateGoal extends BaseService implements ServiceInterface /** * Create a goal. - * - * @param array $data - * @return Goal */ public function execute(array $data): Goal { diff --git a/app/Domains/Contact/ManageGoals/Services/DestroyGoal.php b/app/Domains/Contact/ManageGoals/Services/DestroyGoal.php index b9bfb3980..62b08531b 100644 --- a/app/Domains/Contact/ManageGoals/Services/DestroyGoal.php +++ b/app/Domains/Contact/ManageGoals/Services/DestroyGoal.php @@ -14,8 +14,6 @@ class DestroyGoal extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class DestroyGoal extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,8 +41,6 @@ class DestroyGoal extends BaseService implements ServiceInterface /** * Destroy a goal. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageGoals/Services/ToggleStreak.php b/app/Domains/Contact/ManageGoals/Services/ToggleStreak.php index 237eef724..0644d0a4d 100644 --- a/app/Domains/Contact/ManageGoals/Services/ToggleStreak.php +++ b/app/Domains/Contact/ManageGoals/Services/ToggleStreak.php @@ -16,8 +16,6 @@ class ToggleStreak extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class ToggleStreak extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class ToggleStreak extends BaseService implements ServiceInterface /** * Log a streak for a given goal. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageGoals/Services/UpdateGoal.php b/app/Domains/Contact/ManageGoals/Services/UpdateGoal.php index 8b32a61d9..9fb912a04 100644 --- a/app/Domains/Contact/ManageGoals/Services/UpdateGoal.php +++ b/app/Domains/Contact/ManageGoals/Services/UpdateGoal.php @@ -16,8 +16,6 @@ class UpdateGoal extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class UpdateGoal extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class UpdateGoal extends BaseService implements ServiceInterface /** * Update a goal. - * - * @param array $data - * @return Goal */ public function execute(array $data): Goal { diff --git a/app/Domains/Contact/ManageGroups/Services/AddContactToGroup.php b/app/Domains/Contact/ManageGroups/Services/AddContactToGroup.php index 2756af29d..45b01b35a 100644 --- a/app/Domains/Contact/ManageGroups/Services/AddContactToGroup.php +++ b/app/Domains/Contact/ManageGroups/Services/AddContactToGroup.php @@ -17,8 +17,6 @@ class AddContactToGroup extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class AddContactToGroup extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class AddContactToGroup extends BaseService implements ServiceInterface /** * Add a contact to a group. - * - * @param array $data - * @return Group */ public function execute(array $data): Group { diff --git a/app/Domains/Contact/ManageGroups/Services/CreateGroup.php b/app/Domains/Contact/ManageGroups/Services/CreateGroup.php index bfb65524a..bea95b62d 100644 --- a/app/Domains/Contact/ManageGroups/Services/CreateGroup.php +++ b/app/Domains/Contact/ManageGroups/Services/CreateGroup.php @@ -14,8 +14,6 @@ class CreateGroup extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class CreateGroup extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class CreateGroup extends BaseService implements ServiceInterface /** * Create a family. - * - * @param array $data - * @return Group */ public function execute(array $data): Group { diff --git a/app/Domains/Contact/ManageGroups/Services/DestroyGroup.php b/app/Domains/Contact/ManageGroups/Services/DestroyGroup.php index 580a3be81..79fe38a69 100644 --- a/app/Domains/Contact/ManageGroups/Services/DestroyGroup.php +++ b/app/Domains/Contact/ManageGroups/Services/DestroyGroup.php @@ -9,8 +9,6 @@ class DestroyGroup extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class DestroyGroup extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,8 +34,6 @@ class DestroyGroup extends BaseService implements ServiceInterface /** * Destroy a family. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageGroups/Services/RemoveContactFromGroup.php b/app/Domains/Contact/ManageGroups/Services/RemoveContactFromGroup.php index 855ddde7a..94336dbcf 100644 --- a/app/Domains/Contact/ManageGroups/Services/RemoveContactFromGroup.php +++ b/app/Domains/Contact/ManageGroups/Services/RemoveContactFromGroup.php @@ -16,8 +16,6 @@ class RemoveContactFromGroup extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class RemoveContactFromGroup extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,9 +43,6 @@ class RemoveContactFromGroup extends BaseService implements ServiceInterface /** * Remove a contact from a group. - * - * @param array $data - * @return Group */ public function execute(array $data): Group { diff --git a/app/Domains/Contact/ManageGroups/Services/UpdateGroup.php b/app/Domains/Contact/ManageGroups/Services/UpdateGroup.php index fba77b5dd..d94cf96d0 100644 --- a/app/Domains/Contact/ManageGroups/Services/UpdateGroup.php +++ b/app/Domains/Contact/ManageGroups/Services/UpdateGroup.php @@ -14,8 +14,6 @@ class UpdateGroup extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateGroup extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class UpdateGroup extends BaseService implements ServiceInterface /** * Update a family. - * - * @param array $data - * @return Group */ public function execute(array $data): Group { diff --git a/app/Domains/Contact/ManageGroups/Web/Controllers/ContactModuleGroupController.php b/app/Domains/Contact/ManageGroups/Web/Controllers/ContactModuleGroupController.php index de7a73cd2..06949bef5 100644 --- a/app/Domains/Contact/ManageGroups/Web/Controllers/ContactModuleGroupController.php +++ b/app/Domains/Contact/ManageGroups/Web/Controllers/ContactModuleGroupController.php @@ -21,11 +21,6 @@ class ContactModuleGroupController extends Controller * with it, * 2) the group already exists, and the contact needs to be associated * with it. - * - * @param Request $request - * @param int $vaultId - * @param int $contactId - * @return JsonResponse */ public function store(Request $request, int $vaultId, int $contactId): JsonResponse { diff --git a/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupIndexViewHelper.php b/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupIndexViewHelper.php index 23f0aa2e8..5ca9dac92 100644 --- a/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupIndexViewHelper.php +++ b/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupIndexViewHelper.php @@ -11,9 +11,6 @@ class GroupIndexViewHelper { /** * Gets the list of groups in the vault. - * - * @param Vault $vault - * @return Collection */ public static function data(Vault $vault): Collection { diff --git a/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupShowViewHelper.php b/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupShowViewHelper.php index c137ee8ac..d379cf6b4 100644 --- a/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupShowViewHelper.php +++ b/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupShowViewHelper.php @@ -15,10 +15,6 @@ class GroupShowViewHelper * Contacts can be assigned to roles, but it's not mandatory. * So we need to group contacts by roles if they exist, or list them * alphabetically otherwise. - * - * @param Group $group - * @param User $user - * @return array */ public static function data(Group $group, User $user): array { diff --git a/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupsViewHelper.php b/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupsViewHelper.php index 40062c1e4..87e77f63b 100644 --- a/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupsViewHelper.php +++ b/app/Domains/Contact/ManageGroups/Web/ViewHelpers/GroupsViewHelper.php @@ -11,9 +11,6 @@ class GroupsViewHelper * Gets the summary about the groups the contact belongs to. * This information is displayed at the top of the contact, if this * information exists. - * - * @param Contact $contact - * @return Collection */ public static function summary(Contact $contact): Collection { diff --git a/app/Domains/Contact/ManageGroups/Web/ViewHelpers/ModuleGroupsViewHelper.php b/app/Domains/Contact/ManageGroups/Web/ViewHelpers/ModuleGroupsViewHelper.php index 5503c429a..2b9160c82 100644 --- a/app/Domains/Contact/ManageGroups/Web/ViewHelpers/ModuleGroupsViewHelper.php +++ b/app/Domains/Contact/ManageGroups/Web/ViewHelpers/ModuleGroupsViewHelper.php @@ -10,9 +10,6 @@ class ModuleGroupsViewHelper { /** * All the groups associated with the contact. - * - * @param Contact $contact - * @return array */ public static function data(Contact $contact): array { @@ -54,11 +51,6 @@ class ModuleGroupsViewHelper /** * Gets the details of a given group. - * - * @param Contact $contact - * @param Group $group - * @param bool $taken - * @return array */ public static function dto(Contact $contact, Group $group, bool $taken = false): array { diff --git a/app/Domains/Contact/ManageJobInformation/Services/ResetJobInformation.php b/app/Domains/Contact/ManageJobInformation/Services/ResetJobInformation.php index e944d1bbf..ff07c305d 100644 --- a/app/Domains/Contact/ManageJobInformation/Services/ResetJobInformation.php +++ b/app/Domains/Contact/ManageJobInformation/Services/ResetJobInformation.php @@ -12,8 +12,6 @@ class ResetJobInformation extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class ResetJobInformation extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class ResetJobInformation extends BaseService implements ServiceInterface /** * Reset job information for the given contact. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageJobInformation/Services/UpdateJobInformation.php b/app/Domains/Contact/ManageJobInformation/Services/UpdateJobInformation.php index 2d20fe4cc..def54d483 100644 --- a/app/Domains/Contact/ManageJobInformation/Services/UpdateJobInformation.php +++ b/app/Domains/Contact/ManageJobInformation/Services/UpdateJobInformation.php @@ -15,8 +15,6 @@ class UpdateJobInformation extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class UpdateJobInformation extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,9 +43,6 @@ class UpdateJobInformation extends BaseService implements ServiceInterface /** * Update job information for the given contact. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageLabels/Services/AssignLabel.php b/app/Domains/Contact/ManageLabels/Services/AssignLabel.php index df51bc924..cdb0b052e 100644 --- a/app/Domains/Contact/ManageLabels/Services/AssignLabel.php +++ b/app/Domains/Contact/ManageLabels/Services/AssignLabel.php @@ -14,8 +14,6 @@ class AssignLabel extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class AssignLabel extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class AssignLabel extends BaseService implements ServiceInterface /** * Assign a label to the contact. - * - * @param array $data - * @return Label */ public function execute(array $data): Label { diff --git a/app/Domains/Contact/ManageLabels/Services/RemoveLabel.php b/app/Domains/Contact/ManageLabels/Services/RemoveLabel.php index 3fee3916e..7874cc838 100644 --- a/app/Domains/Contact/ManageLabels/Services/RemoveLabel.php +++ b/app/Domains/Contact/ManageLabels/Services/RemoveLabel.php @@ -14,8 +14,6 @@ class RemoveLabel extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class RemoveLabel extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class RemoveLabel extends BaseService implements ServiceInterface /** * Remove a label from the contact. - * - * @param array $data - * @return Label */ public function execute(array $data): Label { diff --git a/app/Domains/Contact/ManageLifeEvents/Services/CreateLifeEvent.php b/app/Domains/Contact/ManageLifeEvents/Services/CreateLifeEvent.php index 195db2e89..da5df0581 100644 --- a/app/Domains/Contact/ManageLifeEvents/Services/CreateLifeEvent.php +++ b/app/Domains/Contact/ManageLifeEvents/Services/CreateLifeEvent.php @@ -23,8 +23,6 @@ class CreateLifeEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -51,8 +49,6 @@ class CreateLifeEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -65,9 +61,6 @@ class CreateLifeEvent extends BaseService implements ServiceInterface /** * Create a life event. - * - * @param array $data - * @return LifeEvent */ public function execute(array $data): LifeEvent { diff --git a/app/Domains/Contact/ManageLifeEvents/Services/CreateTimelineEvent.php b/app/Domains/Contact/ManageLifeEvents/Services/CreateTimelineEvent.php index 96b0b4ce8..6fa5fd9c1 100644 --- a/app/Domains/Contact/ManageLifeEvents/Services/CreateTimelineEvent.php +++ b/app/Domains/Contact/ManageLifeEvents/Services/CreateTimelineEvent.php @@ -14,8 +14,6 @@ class CreateTimelineEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class CreateTimelineEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class CreateTimelineEvent extends BaseService implements ServiceInterface * Create a timeline event. * A timeline event is a part of one or more contacts lives, and is itself * composed of one or more life events. - * - * @param array $data - * @return TimelineEvent */ public function execute(array $data): TimelineEvent { diff --git a/app/Domains/Contact/ManageLifeEvents/Services/DestroyLifeEvent.php b/app/Domains/Contact/ManageLifeEvents/Services/DestroyLifeEvent.php index 79d3cad1d..37e20fe2e 100644 --- a/app/Domains/Contact/ManageLifeEvents/Services/DestroyLifeEvent.php +++ b/app/Domains/Contact/ManageLifeEvents/Services/DestroyLifeEvent.php @@ -17,8 +17,6 @@ class DestroyLifeEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class DestroyLifeEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,8 +43,6 @@ class DestroyLifeEvent extends BaseService implements ServiceInterface /** * Destroy a life event. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageLifeEvents/Services/DestroyTimelineEvent.php b/app/Domains/Contact/ManageLifeEvents/Services/DestroyTimelineEvent.php index 1536f6b1b..8755f90ac 100644 --- a/app/Domains/Contact/ManageLifeEvents/Services/DestroyTimelineEvent.php +++ b/app/Domains/Contact/ManageLifeEvents/Services/DestroyTimelineEvent.php @@ -14,8 +14,6 @@ class DestroyTimelineEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class DestroyTimelineEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -43,8 +39,6 @@ class DestroyTimelineEvent extends BaseService implements ServiceInterface /** * Destroy a timeline event. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageLifeEvents/Services/ToggleLifeEvent.php b/app/Domains/Contact/ManageLifeEvents/Services/ToggleLifeEvent.php index f2a108911..1ef0d9d31 100644 --- a/app/Domains/Contact/ManageLifeEvents/Services/ToggleLifeEvent.php +++ b/app/Domains/Contact/ManageLifeEvents/Services/ToggleLifeEvent.php @@ -14,8 +14,6 @@ class ToggleLifeEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class ToggleLifeEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class ToggleLifeEvent extends BaseService implements ServiceInterface /** * Toggle a life event. - * - * @param array $data - * @return LifeEvent */ public function execute(array $data): LifeEvent { diff --git a/app/Domains/Contact/ManageLifeEvents/Services/ToggleTimelineEvent.php b/app/Domains/Contact/ManageLifeEvents/Services/ToggleTimelineEvent.php index 2bc5344c5..af02a3b5d 100644 --- a/app/Domains/Contact/ManageLifeEvents/Services/ToggleTimelineEvent.php +++ b/app/Domains/Contact/ManageLifeEvents/Services/ToggleTimelineEvent.php @@ -14,8 +14,6 @@ class ToggleTimelineEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class ToggleTimelineEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -43,9 +39,6 @@ class ToggleTimelineEvent extends BaseService implements ServiceInterface /** * Toggle a timeline event. - * - * @param array $data - * @return TimelineEvent */ public function execute(array $data): TimelineEvent { diff --git a/app/Domains/Contact/ManageLifeEvents/Services/UpdateLifeEvent.php b/app/Domains/Contact/ManageLifeEvents/Services/UpdateLifeEvent.php index ff723e052..cd7007ef2 100644 --- a/app/Domains/Contact/ManageLifeEvents/Services/UpdateLifeEvent.php +++ b/app/Domains/Contact/ManageLifeEvents/Services/UpdateLifeEvent.php @@ -23,8 +23,6 @@ class UpdateLifeEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -52,8 +50,6 @@ class UpdateLifeEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -66,9 +62,6 @@ class UpdateLifeEvent extends BaseService implements ServiceInterface /** * Update a life event. - * - * @param array $data - * @return LifeEvent */ public function execute(array $data): LifeEvent { diff --git a/app/Domains/Contact/ManageLifeEvents/Services/UpdateTimelineEvent.php b/app/Domains/Contact/ManageLifeEvents/Services/UpdateTimelineEvent.php index df9a6723e..9bcff3ef0 100644 --- a/app/Domains/Contact/ManageLifeEvents/Services/UpdateTimelineEvent.php +++ b/app/Domains/Contact/ManageLifeEvents/Services/UpdateTimelineEvent.php @@ -14,8 +14,6 @@ class UpdateTimelineEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateTimelineEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class UpdateTimelineEvent extends BaseService implements ServiceInterface /** * Update a timeline event. - * - * @param array $data - * @return TimelineEvent */ public function execute(array $data): TimelineEvent { diff --git a/app/Domains/Contact/ManageLoans/Services/CreateLoan.php b/app/Domains/Contact/ManageLoans/Services/CreateLoan.php index 67bfe7024..a820dfbbc 100644 --- a/app/Domains/Contact/ManageLoans/Services/CreateLoan.php +++ b/app/Domains/Contact/ManageLoans/Services/CreateLoan.php @@ -23,8 +23,6 @@ class CreateLoan extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -46,8 +44,6 @@ class CreateLoan extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -61,9 +57,6 @@ class CreateLoan extends BaseService implements ServiceInterface /** * Create a loan. - * - * @param array $data - * @return Loan */ public function execute(array $data): Loan { diff --git a/app/Domains/Contact/ManageLoans/Services/DestroyLoan.php b/app/Domains/Contact/ManageLoans/Services/DestroyLoan.php index c1fbd384e..310633111 100644 --- a/app/Domains/Contact/ManageLoans/Services/DestroyLoan.php +++ b/app/Domains/Contact/ManageLoans/Services/DestroyLoan.php @@ -13,8 +13,6 @@ class DestroyLoan extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class DestroyLoan extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,8 +40,6 @@ class DestroyLoan extends BaseService implements ServiceInterface /** * Destroy a loan. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageLoans/Services/ToggleLoan.php b/app/Domains/Contact/ManageLoans/Services/ToggleLoan.php index b6a9798d7..4eee5ac5b 100644 --- a/app/Domains/Contact/ManageLoans/Services/ToggleLoan.php +++ b/app/Domains/Contact/ManageLoans/Services/ToggleLoan.php @@ -15,8 +15,6 @@ class ToggleLoan extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class ToggleLoan extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class ToggleLoan extends BaseService implements ServiceInterface /** * Toggle a loan. - * - * @param array $data - * @return Loan */ public function execute(array $data): Loan { diff --git a/app/Domains/Contact/ManageLoans/Services/UpdateLoan.php b/app/Domains/Contact/ManageLoans/Services/UpdateLoan.php index eb2247a66..877e9496f 100644 --- a/app/Domains/Contact/ManageLoans/Services/UpdateLoan.php +++ b/app/Domains/Contact/ManageLoans/Services/UpdateLoan.php @@ -21,8 +21,6 @@ class UpdateLoan extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -45,8 +43,6 @@ class UpdateLoan extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -60,9 +56,6 @@ class UpdateLoan extends BaseService implements ServiceInterface /** * Update a loan. - * - * @param array $data - * @return Loan */ public function execute(array $data): Loan { diff --git a/app/Domains/Contact/ManageMoodTrackingEvents/Services/CreateMoodTrackingEvent.php b/app/Domains/Contact/ManageMoodTrackingEvents/Services/CreateMoodTrackingEvent.php index 97829119b..253fd90cc 100644 --- a/app/Domains/Contact/ManageMoodTrackingEvents/Services/CreateMoodTrackingEvent.php +++ b/app/Domains/Contact/ManageMoodTrackingEvents/Services/CreateMoodTrackingEvent.php @@ -14,8 +14,6 @@ class CreateMoodTrackingEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class CreateMoodTrackingEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class CreateMoodTrackingEvent extends BaseService implements ServiceInterface /** * Create a mood tracking event. - * - * @param array $data - * @return MoodTrackingEvent */ public function execute(array $data): MoodTrackingEvent { diff --git a/app/Domains/Contact/ManageMoodTrackingEvents/Services/DestroyMoodTrackingEvent.php b/app/Domains/Contact/ManageMoodTrackingEvents/Services/DestroyMoodTrackingEvent.php index 5a67b276e..b04a412bf 100644 --- a/app/Domains/Contact/ManageMoodTrackingEvents/Services/DestroyMoodTrackingEvent.php +++ b/app/Domains/Contact/ManageMoodTrackingEvents/Services/DestroyMoodTrackingEvent.php @@ -14,8 +14,6 @@ class DestroyMoodTrackingEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class DestroyMoodTrackingEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,8 +41,6 @@ class DestroyMoodTrackingEvent extends BaseService implements ServiceInterface /** * Destroy a mood tracking event. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageMoodTrackingEvents/Services/UpdateMoodTrackingEvent.php b/app/Domains/Contact/ManageMoodTrackingEvents/Services/UpdateMoodTrackingEvent.php index 9695e42ba..216d53a9d 100644 --- a/app/Domains/Contact/ManageMoodTrackingEvents/Services/UpdateMoodTrackingEvent.php +++ b/app/Domains/Contact/ManageMoodTrackingEvents/Services/UpdateMoodTrackingEvent.php @@ -14,8 +14,6 @@ class UpdateMoodTrackingEvent extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class UpdateMoodTrackingEvent extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class UpdateMoodTrackingEvent extends BaseService implements ServiceInterface /** * Update a mood tracking event. - * - * @param array $data - * @return MoodTrackingEvent */ public function execute(array $data): MoodTrackingEvent { diff --git a/app/Domains/Contact/ManageNotes/Services/CreateNote.php b/app/Domains/Contact/ManageNotes/Services/CreateNote.php index db88ab579..784d1b3be 100644 --- a/app/Domains/Contact/ManageNotes/Services/CreateNote.php +++ b/app/Domains/Contact/ManageNotes/Services/CreateNote.php @@ -15,8 +15,6 @@ class CreateNote extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class CreateNote extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class CreateNote extends BaseService implements ServiceInterface /** * Create a note. - * - * @param array $data - * @return Note */ public function execute(array $data): Note { diff --git a/app/Domains/Contact/ManageNotes/Services/DestroyNote.php b/app/Domains/Contact/ManageNotes/Services/DestroyNote.php index 2f964739e..d555f7ad2 100644 --- a/app/Domains/Contact/ManageNotes/Services/DestroyNote.php +++ b/app/Domains/Contact/ManageNotes/Services/DestroyNote.php @@ -15,8 +15,6 @@ class DestroyNote extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class DestroyNote extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,8 +42,6 @@ class DestroyNote extends BaseService implements ServiceInterface /** * Destroy a note. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageNotes/Services/UpdateNote.php b/app/Domains/Contact/ManageNotes/Services/UpdateNote.php index 3e86fa158..c9762899a 100644 --- a/app/Domains/Contact/ManageNotes/Services/UpdateNote.php +++ b/app/Domains/Contact/ManageNotes/Services/UpdateNote.php @@ -15,8 +15,6 @@ class UpdateNote extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class UpdateNote extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class UpdateNote extends BaseService implements ServiceInterface /** * Update a note. - * - * @param array $data - * @return Note */ public function execute(array $data): Note { diff --git a/app/Domains/Contact/ManagePets/Services/CreatePet.php b/app/Domains/Contact/ManagePets/Services/CreatePet.php index be4db5f1b..a33213723 100644 --- a/app/Domains/Contact/ManagePets/Services/CreatePet.php +++ b/app/Domains/Contact/ManagePets/Services/CreatePet.php @@ -14,8 +14,6 @@ class CreatePet extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class CreatePet extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class CreatePet extends BaseService implements ServiceInterface /** * Create a pet. - * - * @param array $data - * @return Pet */ public function execute(array $data): Pet { diff --git a/app/Domains/Contact/ManagePets/Services/DestroyPet.php b/app/Domains/Contact/ManagePets/Services/DestroyPet.php index cd36e1335..4e67a4ed5 100644 --- a/app/Domains/Contact/ManagePets/Services/DestroyPet.php +++ b/app/Domains/Contact/ManagePets/Services/DestroyPet.php @@ -14,8 +14,6 @@ class DestroyPet extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class DestroyPet extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,8 +41,6 @@ class DestroyPet extends BaseService implements ServiceInterface /** * Destroy a pet. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManagePets/Services/UpdatePet.php b/app/Domains/Contact/ManagePets/Services/UpdatePet.php index 73d2c1ee4..a44ca57aa 100644 --- a/app/Domains/Contact/ManagePets/Services/UpdatePet.php +++ b/app/Domains/Contact/ManagePets/Services/UpdatePet.php @@ -14,8 +14,6 @@ class UpdatePet extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class UpdatePet extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,9 +43,6 @@ class UpdatePet extends BaseService implements ServiceInterface /** * Update a pet. - * - * @param array $data - * @return Pet */ public function execute(array $data): Pet { diff --git a/app/Domains/Contact/ManagePronouns/Services/RemovePronoun.php b/app/Domains/Contact/ManagePronouns/Services/RemovePronoun.php index fcf02cb83..871d942a1 100644 --- a/app/Domains/Contact/ManagePronouns/Services/RemovePronoun.php +++ b/app/Domains/Contact/ManagePronouns/Services/RemovePronoun.php @@ -10,8 +10,6 @@ class RemovePronoun extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class RemovePronoun extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,8 +36,6 @@ class RemovePronoun extends BaseService implements ServiceInterface /** * Unset a contact's pronoun. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManagePronouns/Services/SetPronoun.php b/app/Domains/Contact/ManagePronouns/Services/SetPronoun.php index 83aac942c..ec6b33dc9 100644 --- a/app/Domains/Contact/ManagePronouns/Services/SetPronoun.php +++ b/app/Domains/Contact/ManagePronouns/Services/SetPronoun.php @@ -13,8 +13,6 @@ class SetPronoun extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class SetPronoun extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,8 +40,6 @@ class SetPronoun extends BaseService implements ServiceInterface /** * Set a contact's pronoun. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageRelationships/Services/SetRelationship.php b/app/Domains/Contact/ManageRelationships/Services/SetRelationship.php index d0fd7dde8..ca32046fe 100644 --- a/app/Domains/Contact/ManageRelationships/Services/SetRelationship.php +++ b/app/Domains/Contact/ManageRelationships/Services/SetRelationship.php @@ -13,8 +13,6 @@ class SetRelationship extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class SetRelationship extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,8 +43,6 @@ class SetRelationship extends BaseService implements ServiceInterface * Set a relationship between two contacts. * When a relationship is created (father -> son), we need to create * the inverse relationship (son -> father) as well. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageRelationships/Services/UnsetRelationship.php b/app/Domains/Contact/ManageRelationships/Services/UnsetRelationship.php index 05872e2e4..284e8e16f 100644 --- a/app/Domains/Contact/ManageRelationships/Services/UnsetRelationship.php +++ b/app/Domains/Contact/ManageRelationships/Services/UnsetRelationship.php @@ -15,8 +15,6 @@ class UnsetRelationship extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class UnsetRelationship extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,8 +43,6 @@ class UnsetRelationship extends BaseService implements ServiceInterface /** * Unset an existing relationship between two contacts. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageRelationships/Web/ViewHelpers/ModuleFamilySummaryViewHelper.php b/app/Domains/Contact/ManageRelationships/Web/ViewHelpers/ModuleFamilySummaryViewHelper.php index 58636b041..60a8ea022 100644 --- a/app/Domains/Contact/ManageRelationships/Web/ViewHelpers/ModuleFamilySummaryViewHelper.php +++ b/app/Domains/Contact/ManageRelationships/Web/ViewHelpers/ModuleFamilySummaryViewHelper.php @@ -16,10 +16,6 @@ class ModuleFamilySummaryViewHelper * Get a summary of the family of the contact: * - spouse or partner * - children. - * - * @param Contact $contact - * @param User $user - * @return array */ public static function data(Contact $contact, User $user): array { diff --git a/app/Domains/Contact/ManageReligion/Services/UpdateReligion.php b/app/Domains/Contact/ManageReligion/Services/UpdateReligion.php index e235cd4a3..8914490c8 100644 --- a/app/Domains/Contact/ManageReligion/Services/UpdateReligion.php +++ b/app/Domains/Contact/ManageReligion/Services/UpdateReligion.php @@ -15,8 +15,6 @@ class UpdateReligion extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateReligion extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class UpdateReligion extends BaseService implements ServiceInterface /** * Update religion of the given contact. - * - * @param array $data - * @return Contact */ public function execute(array $data): Contact { diff --git a/app/Domains/Contact/ManageReminders/Services/CreateContactReminder.php b/app/Domains/Contact/ManageReminders/Services/CreateContactReminder.php index 7a2b7491b..b093edd9a 100644 --- a/app/Domains/Contact/ManageReminders/Services/CreateContactReminder.php +++ b/app/Domains/Contact/ManageReminders/Services/CreateContactReminder.php @@ -15,8 +15,6 @@ class CreateContactReminder extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,8 +34,6 @@ class CreateContactReminder extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -51,9 +47,6 @@ class CreateContactReminder extends BaseService implements ServiceInterface /** * Create a reminder. - * - * @param array $data - * @return ContactReminder */ public function execute(array $data): ContactReminder { diff --git a/app/Domains/Contact/ManageReminders/Services/DestroyReminder.php b/app/Domains/Contact/ManageReminders/Services/DestroyReminder.php index 385677c3c..bdb786c3c 100644 --- a/app/Domains/Contact/ManageReminders/Services/DestroyReminder.php +++ b/app/Domains/Contact/ManageReminders/Services/DestroyReminder.php @@ -13,8 +13,6 @@ class DestroyReminder extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class DestroyReminder extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,8 +40,6 @@ class DestroyReminder extends BaseService implements ServiceInterface /** * Destroy a reminder. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageReminders/Services/RescheduleContactReminderForChannel.php b/app/Domains/Contact/ManageReminders/Services/RescheduleContactReminderForChannel.php index 4112b1a22..f74556d47 100644 --- a/app/Domains/Contact/ManageReminders/Services/RescheduleContactReminderForChannel.php +++ b/app/Domains/Contact/ManageReminders/Services/RescheduleContactReminderForChannel.php @@ -22,8 +22,6 @@ class RescheduleContactReminderForChannel extends BaseService implements Service /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -39,9 +37,6 @@ class RescheduleContactReminderForChannel extends BaseService implements Service * previous iteration has been sent, for the given channel. * Before sending this occurence, we need to make the user notification * channel is still active. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageReminders/Services/ScheduleContactReminderForUser.php b/app/Domains/Contact/ManageReminders/Services/ScheduleContactReminderForUser.php index 978b056fc..b8171864f 100644 --- a/app/Domains/Contact/ManageReminders/Services/ScheduleContactReminderForUser.php +++ b/app/Domains/Contact/ManageReminders/Services/ScheduleContactReminderForUser.php @@ -21,8 +21,6 @@ class ScheduleContactReminderForUser extends BaseService implements ServiceInter /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,9 +35,6 @@ class ScheduleContactReminderForUser extends BaseService implements ServiceInter * For each user in the vault, a scheduled reminder is created. * This service SHOULD NOT BE CALLED FROM THE CLIENTS, ever. * It is called by other services. - * - * @param array $data - * @return void */ public function execute(array $data): void { @@ -60,8 +55,6 @@ class ScheduleContactReminderForUser extends BaseService implements ServiceInter * A ContactReminder can be either a complete date, or only a day/month. * If it is only a day/month, we need to add a fake year so we can still * manipulate the date as a Carbon object. - * - * @return void */ private function getDate(): void { diff --git a/app/Domains/Contact/ManageReminders/Services/UpdateContactReminder.php b/app/Domains/Contact/ManageReminders/Services/UpdateContactReminder.php index 41968baa7..ab9ee8d90 100644 --- a/app/Domains/Contact/ManageReminders/Services/UpdateContactReminder.php +++ b/app/Domains/Contact/ManageReminders/Services/UpdateContactReminder.php @@ -15,8 +15,6 @@ class UpdateContactReminder extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,8 +35,6 @@ class UpdateContactReminder extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -52,9 +48,6 @@ class UpdateContactReminder extends BaseService implements ServiceInterface /** * Update a reminder. - * - * @param array $data - * @return ContactReminder */ public function execute(array $data): ContactReminder { diff --git a/app/Domains/Contact/ManageTasks/Services/CreateContactTask.php b/app/Domains/Contact/ManageTasks/Services/CreateContactTask.php index 0fb0e220b..f54f3e619 100644 --- a/app/Domains/Contact/ManageTasks/Services/CreateContactTask.php +++ b/app/Domains/Contact/ManageTasks/Services/CreateContactTask.php @@ -15,8 +15,6 @@ class CreateContactTask extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class CreateContactTask extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class CreateContactTask extends BaseService implements ServiceInterface /** * Create a contact task. - * - * @param array $data - * @return ContactTask */ public function execute(array $data): ContactTask { diff --git a/app/Domains/Contact/ManageTasks/Services/DestroyContactTask.php b/app/Domains/Contact/ManageTasks/Services/DestroyContactTask.php index 7428ef748..6b8dcd1a4 100644 --- a/app/Domains/Contact/ManageTasks/Services/DestroyContactTask.php +++ b/app/Domains/Contact/ManageTasks/Services/DestroyContactTask.php @@ -13,8 +13,6 @@ class DestroyContactTask extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class DestroyContactTask extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,8 +40,6 @@ class DestroyContactTask extends BaseService implements ServiceInterface /** * Destroy a task. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Contact/ManageTasks/Services/ToggleContactTask.php b/app/Domains/Contact/ManageTasks/Services/ToggleContactTask.php index 7955b2b44..b725eaf18 100644 --- a/app/Domains/Contact/ManageTasks/Services/ToggleContactTask.php +++ b/app/Domains/Contact/ManageTasks/Services/ToggleContactTask.php @@ -13,8 +13,6 @@ class ToggleContactTask extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class ToggleContactTask extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class ToggleContactTask extends BaseService implements ServiceInterface /** * Toggle a contact task. - * - * @param array $data - * @return ContactTask */ public function execute(array $data): ContactTask { diff --git a/app/Domains/Contact/ManageTasks/Services/UpdateContactTask.php b/app/Domains/Contact/ManageTasks/Services/UpdateContactTask.php index dc3c24133..809bb4f9b 100644 --- a/app/Domains/Contact/ManageTasks/Services/UpdateContactTask.php +++ b/app/Domains/Contact/ManageTasks/Services/UpdateContactTask.php @@ -13,8 +13,6 @@ class UpdateContactTask extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class UpdateContactTask extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,9 +43,6 @@ class UpdateContactTask extends BaseService implements ServiceInterface /** * Update a task. - * - * @param array $data - * @return ContactTask */ public function execute(array $data): ContactTask { diff --git a/app/Domains/Settings/CancelAccount/Services/CancelAccount.php b/app/Domains/Settings/CancelAccount/Services/CancelAccount.php index 885a5f4d0..0ffe60d71 100644 --- a/app/Domains/Settings/CancelAccount/Services/CancelAccount.php +++ b/app/Domains/Settings/CancelAccount/Services/CancelAccount.php @@ -11,8 +11,6 @@ class CancelAccount extends QueuableService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class CancelAccount extends QueuableService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class CancelAccount extends QueuableService implements ServiceInterface /** * Delete an account. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Settings/CreateAccount/Jobs/SetupAccount.php b/app/Domains/Settings/CreateAccount/Jobs/SetupAccount.php index 52b7f2c77..e8fbfaa89 100644 --- a/app/Domains/Settings/CreateAccount/Jobs/SetupAccount.php +++ b/app/Domains/Settings/CreateAccount/Jobs/SetupAccount.php @@ -43,8 +43,6 @@ class SetupAccount extends QueuableService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -56,8 +54,6 @@ class SetupAccount extends QueuableService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -68,9 +64,6 @@ class SetupAccount extends QueuableService implements ServiceInterface /** * Execute the service. - * - * @param array $data - * @return void */ public function execute(array $data): void { @@ -90,8 +83,6 @@ class SetupAccount extends QueuableService implements ServiceInterface /** * Populate currencies in the account. - * - * @return void */ private function populateCurrencies(): void { @@ -103,8 +94,6 @@ class SetupAccount extends QueuableService implements ServiceInterface /** * Add the first notification channel based on the email address of the user. - * - * @return void */ private function addNotificationChannel(): void { diff --git a/app/Domains/Settings/CreateAccount/Services/CreateAccount.php b/app/Domains/Settings/CreateAccount/Services/CreateAccount.php index e113a67ca..97a964124 100644 --- a/app/Domains/Settings/CreateAccount/Services/CreateAccount.php +++ b/app/Domains/Settings/CreateAccount/Services/CreateAccount.php @@ -20,8 +20,6 @@ class CreateAccount extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ class CreateAccount extends BaseService implements ServiceInterface /** * Create an account. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageAddressTypes/Services/CreateAddressType.php b/app/Domains/Settings/ManageAddressTypes/Services/CreateAddressType.php index 16571ad3a..9aa51f141 100644 --- a/app/Domains/Settings/ManageAddressTypes/Services/CreateAddressType.php +++ b/app/Domains/Settings/ManageAddressTypes/Services/CreateAddressType.php @@ -10,8 +10,6 @@ class CreateAddressType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class CreateAddressType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class CreateAddressType extends BaseService implements ServiceInterface /** * Create an address type. - * - * @param array $data - * @return AddressType */ public function execute(array $data): AddressType { diff --git a/app/Domains/Settings/ManageAddressTypes/Services/DestroyAddressType.php b/app/Domains/Settings/ManageAddressTypes/Services/DestroyAddressType.php index 90458a898..db9100980 100644 --- a/app/Domains/Settings/ManageAddressTypes/Services/DestroyAddressType.php +++ b/app/Domains/Settings/ManageAddressTypes/Services/DestroyAddressType.php @@ -9,8 +9,6 @@ class DestroyAddressType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class DestroyAddressType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,8 +32,6 @@ class DestroyAddressType extends BaseService implements ServiceInterface /** * Destroy an address type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageAddressTypes/Services/UpdateAddressType.php b/app/Domains/Settings/ManageAddressTypes/Services/UpdateAddressType.php index bbbed6852..ec83142c8 100644 --- a/app/Domains/Settings/ManageAddressTypes/Services/UpdateAddressType.php +++ b/app/Domains/Settings/ManageAddressTypes/Services/UpdateAddressType.php @@ -10,8 +10,6 @@ class UpdateAddressType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class UpdateAddressType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class UpdateAddressType extends BaseService implements ServiceInterface /** * Update an address type. - * - * @param array $data - * @return AddressType */ public function execute(array $data): AddressType { diff --git a/app/Domains/Settings/ManageCallReasons/Services/CreateCallReason.php b/app/Domains/Settings/ManageCallReasons/Services/CreateCallReason.php index b826014d8..09d5ed595 100644 --- a/app/Domains/Settings/ManageCallReasons/Services/CreateCallReason.php +++ b/app/Domains/Settings/ManageCallReasons/Services/CreateCallReason.php @@ -10,8 +10,6 @@ class CreateCallReason extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class CreateCallReason extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class CreateCallReason extends BaseService implements ServiceInterface /** * Create a call reason. - * - * @param array $data - * @return CallReason */ public function execute(array $data): CallReason { diff --git a/app/Domains/Settings/ManageCallReasons/Services/CreateCallReasonType.php b/app/Domains/Settings/ManageCallReasons/Services/CreateCallReasonType.php index 13e0472a5..3220a7bce 100644 --- a/app/Domains/Settings/ManageCallReasons/Services/CreateCallReasonType.php +++ b/app/Domains/Settings/ManageCallReasons/Services/CreateCallReasonType.php @@ -10,8 +10,6 @@ class CreateCallReasonType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class CreateCallReasonType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class CreateCallReasonType extends BaseService implements ServiceInterface /** * Create a call reason type. - * - * @param array $data - * @return CallReasonType */ public function execute(array $data): CallReasonType { diff --git a/app/Domains/Settings/ManageCallReasons/Services/DestroyCallReason.php b/app/Domains/Settings/ManageCallReasons/Services/DestroyCallReason.php index 5abff8f2a..27fe0691f 100644 --- a/app/Domains/Settings/ManageCallReasons/Services/DestroyCallReason.php +++ b/app/Domains/Settings/ManageCallReasons/Services/DestroyCallReason.php @@ -9,8 +9,6 @@ class DestroyCallReason extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class DestroyCallReason extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,8 +33,6 @@ class DestroyCallReason extends BaseService implements ServiceInterface /** * Destroy a call reason. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageCallReasons/Services/DestroyCallReasonType.php b/app/Domains/Settings/ManageCallReasons/Services/DestroyCallReasonType.php index 36a9e11a2..5d459bf96 100644 --- a/app/Domains/Settings/ManageCallReasons/Services/DestroyCallReasonType.php +++ b/app/Domains/Settings/ManageCallReasons/Services/DestroyCallReasonType.php @@ -9,8 +9,6 @@ class DestroyCallReasonType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class DestroyCallReasonType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,8 +32,6 @@ class DestroyCallReasonType extends BaseService implements ServiceInterface /** * Destroy a call reason type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageCallReasons/Services/UpdateCallReason.php b/app/Domains/Settings/ManageCallReasons/Services/UpdateCallReason.php index be733dc78..528c0c902 100644 --- a/app/Domains/Settings/ManageCallReasons/Services/UpdateCallReason.php +++ b/app/Domains/Settings/ManageCallReasons/Services/UpdateCallReason.php @@ -10,8 +10,6 @@ class UpdateCallReason extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class UpdateCallReason extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,9 +35,6 @@ class UpdateCallReason extends BaseService implements ServiceInterface /** * Update a call reason. - * - * @param array $data - * @return CallReason */ public function execute(array $data): CallReason { diff --git a/app/Domains/Settings/ManageCallReasons/Services/UpdateCallReasonType.php b/app/Domains/Settings/ManageCallReasons/Services/UpdateCallReasonType.php index 268ad2348..1a31b097f 100644 --- a/app/Domains/Settings/ManageCallReasons/Services/UpdateCallReasonType.php +++ b/app/Domains/Settings/ManageCallReasons/Services/UpdateCallReasonType.php @@ -10,8 +10,6 @@ class UpdateCallReasonType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class UpdateCallReasonType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class UpdateCallReasonType extends BaseService implements ServiceInterface /** * Update a call reason type. - * - * @param array $data - * @return CallReasonType */ public function execute(array $data): CallReasonType { diff --git a/app/Domains/Settings/ManageContactInformationTypes/Services/CreateContactInformationType.php b/app/Domains/Settings/ManageContactInformationTypes/Services/CreateContactInformationType.php index 87751e922..ddb662795 100644 --- a/app/Domains/Settings/ManageContactInformationTypes/Services/CreateContactInformationType.php +++ b/app/Domains/Settings/ManageContactInformationTypes/Services/CreateContactInformationType.php @@ -10,8 +10,6 @@ class CreateContactInformationType extends BaseService implements ServiceInterfa { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class CreateContactInformationType extends BaseService implements ServiceInterfa /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class CreateContactInformationType extends BaseService implements ServiceInterfa /** * Create a contact information type. - * - * @param array $data - * @return ContactInformationType */ public function execute(array $data): ContactInformationType { diff --git a/app/Domains/Settings/ManageContactInformationTypes/Services/DestroyContactInformationType.php b/app/Domains/Settings/ManageContactInformationTypes/Services/DestroyContactInformationType.php index 1d29f58d8..a05ea77d3 100644 --- a/app/Domains/Settings/ManageContactInformationTypes/Services/DestroyContactInformationType.php +++ b/app/Domains/Settings/ManageContactInformationTypes/Services/DestroyContactInformationType.php @@ -9,8 +9,6 @@ class DestroyContactInformationType extends BaseService implements ServiceInterf { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class DestroyContactInformationType extends BaseService implements ServiceInterf /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,8 +32,6 @@ class DestroyContactInformationType extends BaseService implements ServiceInterf /** * Destroy a contact information type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageContactInformationTypes/Services/UpdateContactInformationType.php b/app/Domains/Settings/ManageContactInformationTypes/Services/UpdateContactInformationType.php index ce7b32556..94b75b6d4 100644 --- a/app/Domains/Settings/ManageContactInformationTypes/Services/UpdateContactInformationType.php +++ b/app/Domains/Settings/ManageContactInformationTypes/Services/UpdateContactInformationType.php @@ -10,8 +10,6 @@ class UpdateContactInformationType extends BaseService implements ServiceInterfa { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class UpdateContactInformationType extends BaseService implements ServiceInterfa /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,9 +35,6 @@ class UpdateContactInformationType extends BaseService implements ServiceInterfa /** * Update a contact information type. - * - * @param array $data - * @return ContactInformationType */ public function execute(array $data): ContactInformationType { diff --git a/app/Domains/Settings/ManageCurrencies/Services/DisableAllCurrencies.php b/app/Domains/Settings/ManageCurrencies/Services/DisableAllCurrencies.php index 9d5bff357..584d6e310 100644 --- a/app/Domains/Settings/ManageCurrencies/Services/DisableAllCurrencies.php +++ b/app/Domains/Settings/ManageCurrencies/Services/DisableAllCurrencies.php @@ -10,8 +10,6 @@ class DisableAllCurrencies extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class DisableAllCurrencies extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,9 +32,6 @@ class DisableAllCurrencies extends BaseService implements ServiceInterface /** * Disable all currencies in the account. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageCurrencies/Services/EnableAllCurrencies.php b/app/Domains/Settings/ManageCurrencies/Services/EnableAllCurrencies.php index a4d9eb6a5..810c96aac 100644 --- a/app/Domains/Settings/ManageCurrencies/Services/EnableAllCurrencies.php +++ b/app/Domains/Settings/ManageCurrencies/Services/EnableAllCurrencies.php @@ -10,8 +10,6 @@ class EnableAllCurrencies extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class EnableAllCurrencies extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,9 +32,6 @@ class EnableAllCurrencies extends BaseService implements ServiceInterface /** * Enable all the currencies in the account. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageCurrencies/Services/ToggleCurrency.php b/app/Domains/Settings/ManageCurrencies/Services/ToggleCurrency.php index 6edbdeeb2..e672452cd 100644 --- a/app/Domains/Settings/ManageCurrencies/Services/ToggleCurrency.php +++ b/app/Domains/Settings/ManageCurrencies/Services/ToggleCurrency.php @@ -10,8 +10,6 @@ class ToggleCurrency extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class ToggleCurrency extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class ToggleCurrency extends BaseService implements ServiceInterface /** * Toggle the currency in the account. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageGenders/Dav/ExportGender.php b/app/Domains/Settings/ManageGenders/Dav/ExportGender.php index 144ac2da4..c3cea51bd 100644 --- a/app/Domains/Settings/ManageGenders/Dav/ExportGender.php +++ b/app/Domains/Settings/ManageGenders/Dav/ExportGender.php @@ -11,10 +11,6 @@ use Sabre\VObject\Component\VCard; #[Order(10)] class ExportGender implements ExportVCardResource { - /** - * @param Contact $contact - * @param VCard $vcard - */ public function export(Contact $contact, VCard $vcard): void { $vcard->remove('GENDER'); diff --git a/app/Domains/Settings/ManageGenders/Services/CreateGender.php b/app/Domains/Settings/ManageGenders/Services/CreateGender.php index cefcaabda..662a5932a 100644 --- a/app/Domains/Settings/ManageGenders/Services/CreateGender.php +++ b/app/Domains/Settings/ManageGenders/Services/CreateGender.php @@ -10,8 +10,6 @@ class CreateGender extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class CreateGender extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class CreateGender extends BaseService implements ServiceInterface /** * Create a gender. - * - * @param array $data - * @return Gender */ public function execute(array $data): Gender { diff --git a/app/Domains/Settings/ManageGenders/Services/DestroyGender.php b/app/Domains/Settings/ManageGenders/Services/DestroyGender.php index dd1232f8a..c358742c8 100644 --- a/app/Domains/Settings/ManageGenders/Services/DestroyGender.php +++ b/app/Domains/Settings/ManageGenders/Services/DestroyGender.php @@ -9,8 +9,6 @@ class DestroyGender extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class DestroyGender extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,8 +32,6 @@ class DestroyGender extends BaseService implements ServiceInterface /** * Destroy a gender. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageGenders/Services/UpdateGender.php b/app/Domains/Settings/ManageGenders/Services/UpdateGender.php index 31c56898b..6c010ed8e 100644 --- a/app/Domains/Settings/ManageGenders/Services/UpdateGender.php +++ b/app/Domains/Settings/ManageGenders/Services/UpdateGender.php @@ -10,8 +10,6 @@ class UpdateGender extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class UpdateGender extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class UpdateGender extends BaseService implements ServiceInterface /** * Update a gender. - * - * @param array $data - * @return Gender */ public function execute(array $data): Gender { diff --git a/app/Domains/Settings/ManageGiftOccasions/Services/CreateGiftOccasion.php b/app/Domains/Settings/ManageGiftOccasions/Services/CreateGiftOccasion.php index 9962f9173..6928c14ef 100644 --- a/app/Domains/Settings/ManageGiftOccasions/Services/CreateGiftOccasion.php +++ b/app/Domains/Settings/ManageGiftOccasions/Services/CreateGiftOccasion.php @@ -14,8 +14,6 @@ class CreateGiftOccasion extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class CreateGiftOccasion extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class CreateGiftOccasion extends BaseService implements ServiceInterface /** * Create a gift occasion. - * - * @param array $data - * @return GiftOccasion */ public function execute(array $data): GiftOccasion { diff --git a/app/Domains/Settings/ManageGiftOccasions/Services/DestroyGiftOccasion.php b/app/Domains/Settings/ManageGiftOccasions/Services/DestroyGiftOccasion.php index e3e42a4db..1e878cd76 100644 --- a/app/Domains/Settings/ManageGiftOccasions/Services/DestroyGiftOccasion.php +++ b/app/Domains/Settings/ManageGiftOccasions/Services/DestroyGiftOccasion.php @@ -12,8 +12,6 @@ class DestroyGiftOccasion extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class DestroyGiftOccasion extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,8 +35,6 @@ class DestroyGiftOccasion extends BaseService implements ServiceInterface /** * Destroy a gift occasion. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageGiftOccasions/Services/UpdateGiftOccasion.php b/app/Domains/Settings/ManageGiftOccasions/Services/UpdateGiftOccasion.php index a1db387d5..0759f9eff 100644 --- a/app/Domains/Settings/ManageGiftOccasions/Services/UpdateGiftOccasion.php +++ b/app/Domains/Settings/ManageGiftOccasions/Services/UpdateGiftOccasion.php @@ -14,8 +14,6 @@ class UpdateGiftOccasion extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class UpdateGiftOccasion extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class UpdateGiftOccasion extends BaseService implements ServiceInterface /** * Update a gift occasion. - * - * @param array $data - * @return GiftOccasion */ public function execute(array $data): GiftOccasion { diff --git a/app/Domains/Settings/ManageGiftOccasions/Services/UpdateGiftOccasionPosition.php b/app/Domains/Settings/ManageGiftOccasions/Services/UpdateGiftOccasionPosition.php index b8ac70370..fdb8948ab 100644 --- a/app/Domains/Settings/ManageGiftOccasions/Services/UpdateGiftOccasionPosition.php +++ b/app/Domains/Settings/ManageGiftOccasions/Services/UpdateGiftOccasionPosition.php @@ -16,8 +16,6 @@ class UpdateGiftOccasionPosition extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateGiftOccasionPosition extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class UpdateGiftOccasionPosition extends BaseService implements ServiceInterface /** * Update the gift occasion's position. - * - * @param array $data - * @return GiftOccasion */ public function execute(array $data): GiftOccasion { diff --git a/app/Domains/Settings/ManageGiftStates/Services/CreateGiftState.php b/app/Domains/Settings/ManageGiftStates/Services/CreateGiftState.php index 6526eedba..f17773a82 100644 --- a/app/Domains/Settings/ManageGiftStates/Services/CreateGiftState.php +++ b/app/Domains/Settings/ManageGiftStates/Services/CreateGiftState.php @@ -14,8 +14,6 @@ class CreateGiftState extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class CreateGiftState extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class CreateGiftState extends BaseService implements ServiceInterface /** * Create a gift state. - * - * @param array $data - * @return GiftState */ public function execute(array $data): GiftState { diff --git a/app/Domains/Settings/ManageGiftStates/Services/DestroyGiftState.php b/app/Domains/Settings/ManageGiftStates/Services/DestroyGiftState.php index 6cb3e0f64..362e91ae2 100644 --- a/app/Domains/Settings/ManageGiftStates/Services/DestroyGiftState.php +++ b/app/Domains/Settings/ManageGiftStates/Services/DestroyGiftState.php @@ -12,8 +12,6 @@ class DestroyGiftState extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class DestroyGiftState extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,8 +35,6 @@ class DestroyGiftState extends BaseService implements ServiceInterface /** * Destroy a gift state. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageGiftStates/Services/UpdateGiftState.php b/app/Domains/Settings/ManageGiftStates/Services/UpdateGiftState.php index 484cc56f1..7b73275ac 100644 --- a/app/Domains/Settings/ManageGiftStates/Services/UpdateGiftState.php +++ b/app/Domains/Settings/ManageGiftStates/Services/UpdateGiftState.php @@ -14,8 +14,6 @@ class UpdateGiftState extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class UpdateGiftState extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class UpdateGiftState extends BaseService implements ServiceInterface /** * Update a gift state. - * - * @param array $data - * @return GiftState */ public function execute(array $data): GiftState { diff --git a/app/Domains/Settings/ManageGiftStates/Services/UpdateGiftStatePosition.php b/app/Domains/Settings/ManageGiftStates/Services/UpdateGiftStatePosition.php index fc5a472a5..a7acf7d65 100644 --- a/app/Domains/Settings/ManageGiftStates/Services/UpdateGiftStatePosition.php +++ b/app/Domains/Settings/ManageGiftStates/Services/UpdateGiftStatePosition.php @@ -16,8 +16,6 @@ class UpdateGiftStatePosition extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateGiftStatePosition extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class UpdateGiftStatePosition extends BaseService implements ServiceInterface /** * Update the gift state's position. - * - * @param array $data - * @return GiftState */ public function execute(array $data): GiftState { diff --git a/app/Domains/Settings/ManageGroupTypes/Services/CreateGroupType.php b/app/Domains/Settings/ManageGroupTypes/Services/CreateGroupType.php index b9e27eafe..5a36ab0d3 100644 --- a/app/Domains/Settings/ManageGroupTypes/Services/CreateGroupType.php +++ b/app/Domains/Settings/ManageGroupTypes/Services/CreateGroupType.php @@ -14,8 +14,6 @@ class CreateGroupType extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class CreateGroupType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class CreateGroupType extends BaseService implements ServiceInterface /** * Create a group type. - * - * @param array $data - * @return GroupType */ public function execute(array $data): GroupType { diff --git a/app/Domains/Settings/ManageGroupTypes/Services/CreateGroupTypeRole.php b/app/Domains/Settings/ManageGroupTypes/Services/CreateGroupTypeRole.php index e655d8612..5b608f1ed 100644 --- a/app/Domains/Settings/ManageGroupTypes/Services/CreateGroupTypeRole.php +++ b/app/Domains/Settings/ManageGroupTypes/Services/CreateGroupTypeRole.php @@ -14,8 +14,6 @@ class CreateGroupTypeRole extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class CreateGroupTypeRole extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class CreateGroupTypeRole extends BaseService implements ServiceInterface /** * Create a group type role. - * - * @param array $data - * @return GroupTypeRole */ public function execute(array $data): GroupTypeRole { diff --git a/app/Domains/Settings/ManageGroupTypes/Services/DestroyGroupType.php b/app/Domains/Settings/ManageGroupTypes/Services/DestroyGroupType.php index 05a209f30..eebb61181 100644 --- a/app/Domains/Settings/ManageGroupTypes/Services/DestroyGroupType.php +++ b/app/Domains/Settings/ManageGroupTypes/Services/DestroyGroupType.php @@ -12,8 +12,6 @@ class DestroyGroupType extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class DestroyGroupType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,8 +35,6 @@ class DestroyGroupType extends BaseService implements ServiceInterface /** * Destroy a group type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageGroupTypes/Services/DestroyGroupTypeRole.php b/app/Domains/Settings/ManageGroupTypes/Services/DestroyGroupTypeRole.php index 45d6f6be1..f2b964c88 100644 --- a/app/Domains/Settings/ManageGroupTypes/Services/DestroyGroupTypeRole.php +++ b/app/Domains/Settings/ManageGroupTypes/Services/DestroyGroupTypeRole.php @@ -15,8 +15,6 @@ class DestroyGroupTypeRole extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class DestroyGroupTypeRole extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -43,8 +39,6 @@ class DestroyGroupTypeRole extends BaseService implements ServiceInterface /** * Destroy a group type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupType.php b/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupType.php index ca3a232a6..6da53da11 100644 --- a/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupType.php +++ b/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupType.php @@ -14,8 +14,6 @@ class UpdateGroupType extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class UpdateGroupType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class UpdateGroupType extends BaseService implements ServiceInterface /** * Update a group type. - * - * @param array $data - * @return GroupType */ public function execute(array $data): GroupType { diff --git a/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypePosition.php b/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypePosition.php index 91de4b318..ee805d9e4 100644 --- a/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypePosition.php +++ b/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypePosition.php @@ -16,8 +16,6 @@ class UpdateGroupTypePosition extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateGroupTypePosition extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class UpdateGroupTypePosition extends BaseService implements ServiceInterface /** * Update the group type's position. - * - * @param array $data - * @return GroupType */ public function execute(array $data): GroupType { diff --git a/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypeRole.php b/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypeRole.php index 94ec77016..6ca58affb 100644 --- a/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypeRole.php +++ b/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypeRole.php @@ -14,8 +14,6 @@ class UpdateGroupTypeRole extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class UpdateGroupTypeRole extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -43,9 +39,6 @@ class UpdateGroupTypeRole extends BaseService implements ServiceInterface /** * Update a group type role. - * - * @param array $data - * @return GroupTypeRole */ public function execute(array $data): GroupTypeRole { diff --git a/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypeRolePosition.php b/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypeRolePosition.php index 338a19e34..933d72afb 100644 --- a/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypeRolePosition.php +++ b/app/Domains/Settings/ManageGroupTypes/Services/UpdateGroupTypeRolePosition.php @@ -19,8 +19,6 @@ class UpdateGroupTypeRolePosition extends BaseService implements ServiceInterfac /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ class UpdateGroupTypeRolePosition extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class UpdateGroupTypeRolePosition extends BaseService implements ServiceInterfac /** * Update the group type role's position. - * - * @param array $data - * @return GroupTypeRole */ public function execute(array $data): GroupTypeRole { diff --git a/app/Domains/Settings/ManageNotificationChannels/Jobs/SendVerificationEmailChannel.php b/app/Domains/Settings/ManageNotificationChannels/Jobs/SendVerificationEmailChannel.php index 5743b0dbc..2389d3aea 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Jobs/SendVerificationEmailChannel.php +++ b/app/Domains/Settings/ManageNotificationChannels/Jobs/SendVerificationEmailChannel.php @@ -27,7 +27,6 @@ class SendVerificationEmailChannel implements ShouldQueue /** * Create a new job instance. * - * @param UserNotificationChannel $channel * @return void */ public function __construct(UserNotificationChannel $channel) diff --git a/app/Domains/Settings/ManageNotificationChannels/Services/CreateUserNotificationChannel.php b/app/Domains/Settings/ManageNotificationChannels/Services/CreateUserNotificationChannel.php index 84e26c5da..796721978 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Services/CreateUserNotificationChannel.php +++ b/app/Domains/Settings/ManageNotificationChannels/Services/CreateUserNotificationChannel.php @@ -17,8 +17,6 @@ class CreateUserNotificationChannel extends BaseService implements ServiceInterf /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ class CreateUserNotificationChannel extends BaseService implements ServiceInterf /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,9 +43,6 @@ class CreateUserNotificationChannel extends BaseService implements ServiceInterf /** * Create the new user notification channel for the given user. - * - * @param array $data - * @return UserNotificationChannel */ public function execute(array $data): UserNotificationChannel { diff --git a/app/Domains/Settings/ManageNotificationChannels/Services/DestroyUserNotificationChannel.php b/app/Domains/Settings/ManageNotificationChannels/Services/DestroyUserNotificationChannel.php index f1f8454f7..4d167b67a 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Services/DestroyUserNotificationChannel.php +++ b/app/Domains/Settings/ManageNotificationChannels/Services/DestroyUserNotificationChannel.php @@ -14,8 +14,6 @@ class DestroyUserNotificationChannel extends BaseService implements ServiceInter /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class DestroyUserNotificationChannel extends BaseService implements ServiceInter /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class DestroyUserNotificationChannel extends BaseService implements ServiceInter /** * Delete the new user notification channel. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageNotificationChannels/Services/ScheduleAllContactRemindersForNotificationChannel.php b/app/Domains/Settings/ManageNotificationChannels/Services/ScheduleAllContactRemindersForNotificationChannel.php index 6e46e4ee5..39459655f 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Services/ScheduleAllContactRemindersForNotificationChannel.php +++ b/app/Domains/Settings/ManageNotificationChannels/Services/ScheduleAllContactRemindersForNotificationChannel.php @@ -16,8 +16,6 @@ class ScheduleAllContactRemindersForNotificationChannel extends BaseService impl /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class ScheduleAllContactRemindersForNotificationChannel extends BaseService impl /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class ScheduleAllContactRemindersForNotificationChannel extends BaseService impl * notification channel. * This is useful when we create a new user notification channel, or when * we activate a formerly inactive user notification channel. - * - * @param array $data - * @return UserNotificationChannel */ public function execute(array $data): UserNotificationChannel { diff --git a/app/Domains/Settings/ManageNotificationChannels/Services/SendTestEmail.php b/app/Domains/Settings/ManageNotificationChannels/Services/SendTestEmail.php index 22147c4cd..669edac5c 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Services/SendTestEmail.php +++ b/app/Domains/Settings/ManageNotificationChannels/Services/SendTestEmail.php @@ -19,8 +19,6 @@ class SendTestEmail extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class SendTestEmail extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class SendTestEmail extends BaseService implements ServiceInterface /** * Send a test email. - * - * @param array $data - * @return UserNotificationChannel */ public function execute(array $data): UserNotificationChannel { diff --git a/app/Domains/Settings/ManageNotificationChannels/Services/SendTestTelegramNotification.php b/app/Domains/Settings/ManageNotificationChannels/Services/SendTestTelegramNotification.php index 625d832e5..a89b1390f 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Services/SendTestTelegramNotification.php +++ b/app/Domains/Settings/ManageNotificationChannels/Services/SendTestTelegramNotification.php @@ -20,8 +20,6 @@ class SendTestTelegramNotification extends BaseService implements ServiceInterfa /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class SendTestTelegramNotification extends BaseService implements ServiceInterfa /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class SendTestTelegramNotification extends BaseService implements ServiceInterfa /** * Send a test notification to Telegram. - * - * @param array $data - * @return UserNotificationChannel */ public function execute(array $data): UserNotificationChannel { diff --git a/app/Domains/Settings/ManageNotificationChannels/Services/ToggleUserNotificationChannel.php b/app/Domains/Settings/ManageNotificationChannels/Services/ToggleUserNotificationChannel.php index aeffa5ccc..cc08ac605 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Services/ToggleUserNotificationChannel.php +++ b/app/Domains/Settings/ManageNotificationChannels/Services/ToggleUserNotificationChannel.php @@ -14,8 +14,6 @@ class ToggleUserNotificationChannel extends BaseService implements ServiceInterf /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class ToggleUserNotificationChannel extends BaseService implements ServiceInterf /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class ToggleUserNotificationChannel extends BaseService implements ServiceInterf /** * Mark the given user notification channel active or inactive. - * - * @param array $data - * @return UserNotificationChannel */ public function execute(array $data): UserNotificationChannel { @@ -72,8 +65,6 @@ class ToggleUserNotificationChannel extends BaseService implements ServiceInterf * upcoming scheduled reminders for that channel. * If the notification channel is reactivated, we need to reschedule all * the contact reminders for this channel specifically. - * - * @return void */ private function updateScheduledReminders(): void { diff --git a/app/Domains/Settings/ManageNotificationChannels/Services/VerifyUserNotificationChannelEmailAddress.php b/app/Domains/Settings/ManageNotificationChannels/Services/VerifyUserNotificationChannelEmailAddress.php index f06695df2..7b5afb293 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Services/VerifyUserNotificationChannelEmailAddress.php +++ b/app/Domains/Settings/ManageNotificationChannels/Services/VerifyUserNotificationChannelEmailAddress.php @@ -15,8 +15,6 @@ class VerifyUserNotificationChannelEmailAddress extends BaseService implements S /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class VerifyUserNotificationChannelEmailAddress extends BaseService implements S /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class VerifyUserNotificationChannelEmailAddress extends BaseService implements S /** * Verify the email address for the given user notification channel. - * - * @param array $data - * @return UserNotificationChannel */ public function execute(array $data): UserNotificationChannel { diff --git a/app/Domains/Settings/ManageNotificationChannels/Web/Controllers/TelegramWebhookController.php b/app/Domains/Settings/ManageNotificationChannels/Web/Controllers/TelegramWebhookController.php index d43577d9a..afe8489e6 100644 --- a/app/Domains/Settings/ManageNotificationChannels/Web/Controllers/TelegramWebhookController.php +++ b/app/Domains/Settings/ManageNotificationChannels/Web/Controllers/TelegramWebhookController.php @@ -13,7 +13,6 @@ class TelegramWebhookController extends Controller /** * Store Telegram Chat ID from telegram webhook message. * - * @param Request $request * @return \Illuminate\Http\Response */ public function store(Request $request) diff --git a/app/Domains/Settings/ManagePetCategories/Services/CreatePetCategory.php b/app/Domains/Settings/ManagePetCategories/Services/CreatePetCategory.php index 7f7bfdf18..78723bcc4 100644 --- a/app/Domains/Settings/ManagePetCategories/Services/CreatePetCategory.php +++ b/app/Domains/Settings/ManagePetCategories/Services/CreatePetCategory.php @@ -10,8 +10,6 @@ class CreatePetCategory extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class CreatePetCategory extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class CreatePetCategory extends BaseService implements ServiceInterface /** * Create a pet category. - * - * @param array $data - * @return PetCategory */ public function execute(array $data): PetCategory { diff --git a/app/Domains/Settings/ManagePetCategories/Services/DestroyPetCategory.php b/app/Domains/Settings/ManagePetCategories/Services/DestroyPetCategory.php index 9ac13e388..c63255a07 100644 --- a/app/Domains/Settings/ManagePetCategories/Services/DestroyPetCategory.php +++ b/app/Domains/Settings/ManagePetCategories/Services/DestroyPetCategory.php @@ -9,8 +9,6 @@ class DestroyPetCategory extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class DestroyPetCategory extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,8 +32,6 @@ class DestroyPetCategory extends BaseService implements ServiceInterface /** * Destroy a pet category. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManagePetCategories/Services/UpdatePetCategory.php b/app/Domains/Settings/ManagePetCategories/Services/UpdatePetCategory.php index d5f0364e6..8e5d3cd75 100644 --- a/app/Domains/Settings/ManagePetCategories/Services/UpdatePetCategory.php +++ b/app/Domains/Settings/ManagePetCategories/Services/UpdatePetCategory.php @@ -10,8 +10,6 @@ class UpdatePetCategory extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class UpdatePetCategory extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class UpdatePetCategory extends BaseService implements ServiceInterface /** * Update a pet category. - * - * @param array $data - * @return PetCategory */ public function execute(array $data): PetCategory { diff --git a/app/Domains/Settings/ManagePostTemplates/Services/CreatePostTemplate.php b/app/Domains/Settings/ManagePostTemplates/Services/CreatePostTemplate.php index c55c91d6a..5a0c88cc8 100644 --- a/app/Domains/Settings/ManagePostTemplates/Services/CreatePostTemplate.php +++ b/app/Domains/Settings/ManagePostTemplates/Services/CreatePostTemplate.php @@ -12,8 +12,6 @@ class CreatePostTemplate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class CreatePostTemplate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class CreatePostTemplate extends BaseService implements ServiceInterface /** * Create a post type. - * - * @param array $data - * @return PostTemplate */ public function execute(array $data): PostTemplate { diff --git a/app/Domains/Settings/ManagePostTemplates/Services/CreatePostTemplateSection.php b/app/Domains/Settings/ManagePostTemplates/Services/CreatePostTemplateSection.php index 59c64bca3..b8072b848 100644 --- a/app/Domains/Settings/ManagePostTemplates/Services/CreatePostTemplateSection.php +++ b/app/Domains/Settings/ManagePostTemplates/Services/CreatePostTemplateSection.php @@ -12,8 +12,6 @@ class CreatePostTemplateSection extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class CreatePostTemplateSection extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class CreatePostTemplateSection extends BaseService implements ServiceInterface /** * Create a post type section. - * - * @param array $data - * @return PostTemplateSection */ public function execute(array $data): PostTemplateSection { diff --git a/app/Domains/Settings/ManagePostTemplates/Services/DestroyPostTemplate.php b/app/Domains/Settings/ManagePostTemplates/Services/DestroyPostTemplate.php index 4d1220026..5113a85ad 100644 --- a/app/Domains/Settings/ManagePostTemplates/Services/DestroyPostTemplate.php +++ b/app/Domains/Settings/ManagePostTemplates/Services/DestroyPostTemplate.php @@ -12,8 +12,6 @@ class DestroyPostTemplate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class DestroyPostTemplate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,8 +35,6 @@ class DestroyPostTemplate extends BaseService implements ServiceInterface /** * Destroy a post type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManagePostTemplates/Services/DestroyPostTemplateSection.php b/app/Domains/Settings/ManagePostTemplates/Services/DestroyPostTemplateSection.php index 1b5d8aeea..50e7b553e 100644 --- a/app/Domains/Settings/ManagePostTemplates/Services/DestroyPostTemplateSection.php +++ b/app/Domains/Settings/ManagePostTemplates/Services/DestroyPostTemplateSection.php @@ -12,8 +12,6 @@ class DestroyPostTemplateSection extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class DestroyPostTemplateSection extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,8 +36,6 @@ class DestroyPostTemplateSection extends BaseService implements ServiceInterface /** * Destroy a post type section. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplate.php b/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplate.php index a571b0874..019bdcad9 100644 --- a/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplate.php +++ b/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplate.php @@ -12,8 +12,6 @@ class UpdatePostTemplate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class UpdatePostTemplate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class UpdatePostTemplate extends BaseService implements ServiceInterface /** * Update a post type. - * - * @param array $data - * @return PostTemplate */ public function execute(array $data): PostTemplate { diff --git a/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplatePosition.php b/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplatePosition.php index 4db274210..e6859a1c0 100644 --- a/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplatePosition.php +++ b/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplatePosition.php @@ -16,8 +16,6 @@ class UpdatePostTemplatePosition extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdatePostTemplatePosition extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class UpdatePostTemplatePosition extends BaseService implements ServiceInterface /** * Update the post type position. - * - * @param array $data - * @return PostTemplate */ public function execute(array $data): PostTemplate { diff --git a/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplateSection.php b/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplateSection.php index cc6a887c1..613a024b3 100644 --- a/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplateSection.php +++ b/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplateSection.php @@ -12,8 +12,6 @@ class UpdatePostTemplateSection extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class UpdatePostTemplateSection extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class UpdatePostTemplateSection extends BaseService implements ServiceInterface /** * Update a post type section. - * - * @param array $data - * @return PostTemplateSection */ public function execute(array $data): PostTemplateSection { diff --git a/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplateSectionPosition.php b/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplateSectionPosition.php index d1b105e7c..5222f9387 100644 --- a/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplateSectionPosition.php +++ b/app/Domains/Settings/ManagePostTemplates/Services/UpdatePostTemplateSectionPosition.php @@ -19,8 +19,6 @@ class UpdatePostTemplateSectionPosition extends BaseService implements ServiceIn /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ class UpdatePostTemplateSectionPosition extends BaseService implements ServiceIn /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class UpdatePostTemplateSectionPosition extends BaseService implements ServiceIn /** * Update the post type section position. - * - * @param array $data - * @return PostTemplateSection */ public function execute(array $data): PostTemplateSection { diff --git a/app/Domains/Settings/ManagePronouns/Services/CreatePronoun.php b/app/Domains/Settings/ManagePronouns/Services/CreatePronoun.php index 3561c5fa7..14a44aacc 100644 --- a/app/Domains/Settings/ManagePronouns/Services/CreatePronoun.php +++ b/app/Domains/Settings/ManagePronouns/Services/CreatePronoun.php @@ -10,8 +10,6 @@ class CreatePronoun extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class CreatePronoun extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class CreatePronoun extends BaseService implements ServiceInterface /** * Create a pronoun. - * - * @param array $data - * @return Pronoun */ public function execute(array $data): Pronoun { diff --git a/app/Domains/Settings/ManagePronouns/Services/DestroyPronoun.php b/app/Domains/Settings/ManagePronouns/Services/DestroyPronoun.php index e85954747..697b93b90 100644 --- a/app/Domains/Settings/ManagePronouns/Services/DestroyPronoun.php +++ b/app/Domains/Settings/ManagePronouns/Services/DestroyPronoun.php @@ -9,8 +9,6 @@ class DestroyPronoun extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class DestroyPronoun extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,8 +32,6 @@ class DestroyPronoun extends BaseService implements ServiceInterface /** * Destroy a pronoun. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManagePronouns/Services/UpdatePronoun.php b/app/Domains/Settings/ManagePronouns/Services/UpdatePronoun.php index cf2b2cb9d..00a72468c 100644 --- a/app/Domains/Settings/ManagePronouns/Services/UpdatePronoun.php +++ b/app/Domains/Settings/ManagePronouns/Services/UpdatePronoun.php @@ -10,8 +10,6 @@ class UpdatePronoun extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class UpdatePronoun extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class UpdatePronoun extends BaseService implements ServiceInterface /** * Update a gender. - * - * @param array $data - * @return Pronoun */ public function execute(array $data): Pronoun { diff --git a/app/Domains/Settings/ManageRelationshipTypes/Services/CreateRelationshipGroupType.php b/app/Domains/Settings/ManageRelationshipTypes/Services/CreateRelationshipGroupType.php index 703f02aef..4a6f389fd 100644 --- a/app/Domains/Settings/ManageRelationshipTypes/Services/CreateRelationshipGroupType.php +++ b/app/Domains/Settings/ManageRelationshipTypes/Services/CreateRelationshipGroupType.php @@ -10,8 +10,6 @@ class CreateRelationshipGroupType extends BaseService implements ServiceInterfac { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class CreateRelationshipGroupType extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,9 +35,6 @@ class CreateRelationshipGroupType extends BaseService implements ServiceInterfac /** * Create a relationship group type. - * - * @param array $data - * @return RelationshipGroupType */ public function execute(array $data): RelationshipGroupType { diff --git a/app/Domains/Settings/ManageRelationshipTypes/Services/CreateRelationshipType.php b/app/Domains/Settings/ManageRelationshipTypes/Services/CreateRelationshipType.php index 23321591a..aff1cc569 100644 --- a/app/Domains/Settings/ManageRelationshipTypes/Services/CreateRelationshipType.php +++ b/app/Domains/Settings/ManageRelationshipTypes/Services/CreateRelationshipType.php @@ -10,8 +10,6 @@ class CreateRelationshipType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class CreateRelationshipType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class CreateRelationshipType extends BaseService implements ServiceInterface /** * Create a relationship type. - * - * @param array $data - * @return RelationshipType */ public function execute(array $data): RelationshipType { diff --git a/app/Domains/Settings/ManageRelationshipTypes/Services/DestroyRelationshipGroupType.php b/app/Domains/Settings/ManageRelationshipTypes/Services/DestroyRelationshipGroupType.php index 6264f6851..25f4255c1 100644 --- a/app/Domains/Settings/ManageRelationshipTypes/Services/DestroyRelationshipGroupType.php +++ b/app/Domains/Settings/ManageRelationshipTypes/Services/DestroyRelationshipGroupType.php @@ -9,8 +9,6 @@ class DestroyRelationshipGroupType extends BaseService implements ServiceInterfa { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,8 +21,6 @@ class DestroyRelationshipGroupType extends BaseService implements ServiceInterfa /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -36,8 +32,6 @@ class DestroyRelationshipGroupType extends BaseService implements ServiceInterfa /** * Destroy a relationship group type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageRelationshipTypes/Services/DestroyRelationshipType.php b/app/Domains/Settings/ManageRelationshipTypes/Services/DestroyRelationshipType.php index 69d3e24a9..11c2ae87e 100644 --- a/app/Domains/Settings/ManageRelationshipTypes/Services/DestroyRelationshipType.php +++ b/app/Domains/Settings/ManageRelationshipTypes/Services/DestroyRelationshipType.php @@ -9,8 +9,6 @@ class DestroyRelationshipType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class DestroyRelationshipType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,8 +33,6 @@ class DestroyRelationshipType extends BaseService implements ServiceInterface /** * Destroy a relationship type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageRelationshipTypes/Services/UpdateRelationshipGroupType.php b/app/Domains/Settings/ManageRelationshipTypes/Services/UpdateRelationshipGroupType.php index abc244bf7..1e7e13b04 100644 --- a/app/Domains/Settings/ManageRelationshipTypes/Services/UpdateRelationshipGroupType.php +++ b/app/Domains/Settings/ManageRelationshipTypes/Services/UpdateRelationshipGroupType.php @@ -10,8 +10,6 @@ class UpdateRelationshipGroupType extends BaseService implements ServiceInterfac { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class UpdateRelationshipGroupType extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class UpdateRelationshipGroupType extends BaseService implements ServiceInterfac /** * Update a relationship type. - * - * @param array $data - * @return RelationshipGroupType */ public function execute(array $data): RelationshipGroupType { diff --git a/app/Domains/Settings/ManageRelationshipTypes/Services/UpdateRelationshipType.php b/app/Domains/Settings/ManageRelationshipTypes/Services/UpdateRelationshipType.php index a55a28cce..f34abb680 100644 --- a/app/Domains/Settings/ManageRelationshipTypes/Services/UpdateRelationshipType.php +++ b/app/Domains/Settings/ManageRelationshipTypes/Services/UpdateRelationshipType.php @@ -10,8 +10,6 @@ class UpdateRelationshipType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class UpdateRelationshipType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class UpdateRelationshipType extends BaseService implements ServiceInterface /** * Update a relationship type. - * - * @param array $data - * @return RelationshipType */ public function execute(array $data): RelationshipType { diff --git a/app/Domains/Settings/ManageReligion/Services/CreateReligion.php b/app/Domains/Settings/ManageReligion/Services/CreateReligion.php index c92ac5db6..6cfe1c48c 100644 --- a/app/Domains/Settings/ManageReligion/Services/CreateReligion.php +++ b/app/Domains/Settings/ManageReligion/Services/CreateReligion.php @@ -14,8 +14,6 @@ class CreateReligion extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class CreateReligion extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class CreateReligion extends BaseService implements ServiceInterface /** * Create a religion. - * - * @param array $data - * @return Religion */ public function execute(array $data): Religion { diff --git a/app/Domains/Settings/ManageReligion/Services/DestroyReligion.php b/app/Domains/Settings/ManageReligion/Services/DestroyReligion.php index dcd789b35..944ba2f44 100644 --- a/app/Domains/Settings/ManageReligion/Services/DestroyReligion.php +++ b/app/Domains/Settings/ManageReligion/Services/DestroyReligion.php @@ -12,8 +12,6 @@ class DestroyReligion extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class DestroyReligion extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,8 +35,6 @@ class DestroyReligion extends BaseService implements ServiceInterface /** * Destroy a religion. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageReligion/Services/UpdateReligion.php b/app/Domains/Settings/ManageReligion/Services/UpdateReligion.php index 29148b155..208674e1f 100644 --- a/app/Domains/Settings/ManageReligion/Services/UpdateReligion.php +++ b/app/Domains/Settings/ManageReligion/Services/UpdateReligion.php @@ -14,8 +14,6 @@ class UpdateReligion extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class UpdateReligion extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class UpdateReligion extends BaseService implements ServiceInterface /** * Update a religion. - * - * @param array $data - * @return Religion */ public function execute(array $data): Religion { diff --git a/app/Domains/Settings/ManageReligion/Services/UpdateReligionPosition.php b/app/Domains/Settings/ManageReligion/Services/UpdateReligionPosition.php index a4e94c373..94e65acdf 100644 --- a/app/Domains/Settings/ManageReligion/Services/UpdateReligionPosition.php +++ b/app/Domains/Settings/ManageReligion/Services/UpdateReligionPosition.php @@ -16,8 +16,6 @@ class UpdateReligionPosition extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateReligionPosition extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class UpdateReligionPosition extends BaseService implements ServiceInterface /** * Update the gift occasion's position. - * - * @param array $data - * @return Religion */ public function execute(array $data): Religion { diff --git a/app/Domains/Settings/ManageTemplates/Services/AssociateModuleToTemplatePage.php b/app/Domains/Settings/ManageTemplates/Services/AssociateModuleToTemplatePage.php index ef1edd107..459d447e4 100644 --- a/app/Domains/Settings/ManageTemplates/Services/AssociateModuleToTemplatePage.php +++ b/app/Domains/Settings/ManageTemplates/Services/AssociateModuleToTemplatePage.php @@ -17,8 +17,6 @@ class AssociateModuleToTemplatePage extends BaseService implements ServiceInterf /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class AssociateModuleToTemplatePage extends BaseService implements ServiceInterf /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class AssociateModuleToTemplatePage extends BaseService implements ServiceInterf /** * Associate a module with a template page. - * - * @param array $data - * @return Module */ public function execute(array $data): Module { diff --git a/app/Domains/Settings/ManageTemplates/Services/CreateModule.php b/app/Domains/Settings/ManageTemplates/Services/CreateModule.php index 1d8a3d96b..f0cdc9c60 100644 --- a/app/Domains/Settings/ManageTemplates/Services/CreateModule.php +++ b/app/Domains/Settings/ManageTemplates/Services/CreateModule.php @@ -12,8 +12,6 @@ class CreateModule extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class CreateModule extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class CreateModule extends BaseService implements ServiceInterface /** * Create a module. - * - * @param array $data - * @return Module */ public function execute(array $data): Module { diff --git a/app/Domains/Settings/ManageTemplates/Services/CreateTemplate.php b/app/Domains/Settings/ManageTemplates/Services/CreateTemplate.php index d4c6ff940..a60ebac03 100644 --- a/app/Domains/Settings/ManageTemplates/Services/CreateTemplate.php +++ b/app/Domains/Settings/ManageTemplates/Services/CreateTemplate.php @@ -13,8 +13,6 @@ class CreateTemplate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class CreateTemplate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class CreateTemplate extends BaseService implements ServiceInterface /** * Create a template. - * - * @param array $data - * @return Template */ public function execute(array $data): Template { diff --git a/app/Domains/Settings/ManageTemplates/Services/CreateTemplatePage.php b/app/Domains/Settings/ManageTemplates/Services/CreateTemplatePage.php index 4284853fe..7da11b9ec 100644 --- a/app/Domains/Settings/ManageTemplates/Services/CreateTemplatePage.php +++ b/app/Domains/Settings/ManageTemplates/Services/CreateTemplatePage.php @@ -13,8 +13,6 @@ class CreateTemplatePage extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class CreateTemplatePage extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -43,9 +39,6 @@ class CreateTemplatePage extends BaseService implements ServiceInterface /** * Create a template page. - * - * @param array $data - * @return TemplatePage */ public function execute(array $data): TemplatePage { diff --git a/app/Domains/Settings/ManageTemplates/Services/DestroyModule.php b/app/Domains/Settings/ManageTemplates/Services/DestroyModule.php index 540a87838..861aeb58c 100644 --- a/app/Domains/Settings/ManageTemplates/Services/DestroyModule.php +++ b/app/Domains/Settings/ManageTemplates/Services/DestroyModule.php @@ -11,8 +11,6 @@ class DestroyModule extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class DestroyModule extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,8 +34,6 @@ class DestroyModule extends BaseService implements ServiceInterface /** * Destroy a module. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageTemplates/Services/DestroyTemplate.php b/app/Domains/Settings/ManageTemplates/Services/DestroyTemplate.php index ca76c7275..092c3e71d 100644 --- a/app/Domains/Settings/ManageTemplates/Services/DestroyTemplate.php +++ b/app/Domains/Settings/ManageTemplates/Services/DestroyTemplate.php @@ -12,8 +12,6 @@ class DestroyTemplate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class DestroyTemplate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,8 +35,6 @@ class DestroyTemplate extends BaseService implements ServiceInterface /** * Destroy a template. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageTemplates/Services/DestroyTemplatePage.php b/app/Domains/Settings/ManageTemplates/Services/DestroyTemplatePage.php index f1da8602a..f0032611a 100644 --- a/app/Domains/Settings/ManageTemplates/Services/DestroyTemplatePage.php +++ b/app/Domains/Settings/ManageTemplates/Services/DestroyTemplatePage.php @@ -12,8 +12,6 @@ class DestroyTemplatePage extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class DestroyTemplatePage extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,8 +36,6 @@ class DestroyTemplatePage extends BaseService implements ServiceInterface /** * Destroy a template. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Settings/ManageTemplates/Services/RemoveModuleFromTemplatePage.php b/app/Domains/Settings/ManageTemplates/Services/RemoveModuleFromTemplatePage.php index 8540cf18e..d3c037f3a 100644 --- a/app/Domains/Settings/ManageTemplates/Services/RemoveModuleFromTemplatePage.php +++ b/app/Domains/Settings/ManageTemplates/Services/RemoveModuleFromTemplatePage.php @@ -15,8 +15,6 @@ class RemoveModuleFromTemplatePage extends BaseService implements ServiceInterfa /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class RemoveModuleFromTemplatePage extends BaseService implements ServiceInterfa /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class RemoveModuleFromTemplatePage extends BaseService implements ServiceInterfa /** * Remove a module from a template page. - * - * @param array $data - * @return Module */ public function execute(array $data): Module { diff --git a/app/Domains/Settings/ManageTemplates/Services/UpdateModule.php b/app/Domains/Settings/ManageTemplates/Services/UpdateModule.php index de18210a1..b0ab1a447 100644 --- a/app/Domains/Settings/ManageTemplates/Services/UpdateModule.php +++ b/app/Domains/Settings/ManageTemplates/Services/UpdateModule.php @@ -12,8 +12,6 @@ class UpdateModule extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class UpdateModule extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class UpdateModule extends BaseService implements ServiceInterface /** * Update a module. - * - * @param array $data - * @return Module */ public function execute(array $data): Module { diff --git a/app/Domains/Settings/ManageTemplates/Services/UpdateModulePosition.php b/app/Domains/Settings/ManageTemplates/Services/UpdateModulePosition.php index 780804062..d62774b08 100644 --- a/app/Domains/Settings/ManageTemplates/Services/UpdateModulePosition.php +++ b/app/Domains/Settings/ManageTemplates/Services/UpdateModulePosition.php @@ -19,8 +19,6 @@ class UpdateModulePosition extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,8 +34,6 @@ class UpdateModulePosition extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class UpdateModulePosition extends BaseService implements ServiceInterface /** * Update the module position. - * - * @param array $data - * @return Module */ public function execute(array $data): Module { diff --git a/app/Domains/Settings/ManageTemplates/Services/UpdateTemplate.php b/app/Domains/Settings/ManageTemplates/Services/UpdateTemplate.php index d01d9d334..3ca23adf7 100644 --- a/app/Domains/Settings/ManageTemplates/Services/UpdateTemplate.php +++ b/app/Domains/Settings/ManageTemplates/Services/UpdateTemplate.php @@ -12,8 +12,6 @@ class UpdateTemplate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class UpdateTemplate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class UpdateTemplate extends BaseService implements ServiceInterface /** * Update a template. - * - * @param array $data - * @return Template */ public function execute(array $data): Template { diff --git a/app/Domains/Settings/ManageTemplates/Services/UpdateTemplatePage.php b/app/Domains/Settings/ManageTemplates/Services/UpdateTemplatePage.php index 74b019e04..87afb02e0 100644 --- a/app/Domains/Settings/ManageTemplates/Services/UpdateTemplatePage.php +++ b/app/Domains/Settings/ManageTemplates/Services/UpdateTemplatePage.php @@ -13,8 +13,6 @@ class UpdateTemplatePage extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class UpdateTemplatePage extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class UpdateTemplatePage extends BaseService implements ServiceInterface /** * Update a template page. - * - * @param array $data - * @return TemplatePage */ public function execute(array $data): TemplatePage { diff --git a/app/Domains/Settings/ManageTemplates/Services/UpdateTemplatePagePosition.php b/app/Domains/Settings/ManageTemplates/Services/UpdateTemplatePagePosition.php index e6f4f58ad..9c69911a7 100644 --- a/app/Domains/Settings/ManageTemplates/Services/UpdateTemplatePagePosition.php +++ b/app/Domains/Settings/ManageTemplates/Services/UpdateTemplatePagePosition.php @@ -19,8 +19,6 @@ class UpdateTemplatePagePosition extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ class UpdateTemplatePagePosition extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class UpdateTemplatePagePosition extends BaseService implements ServiceInterface /** * Update the template page position. - * - * @param array $data - * @return TemplatePage */ public function execute(array $data): TemplatePage { diff --git a/app/Domains/Settings/ManageUserPreferences/Services/StoreDateFormatPreference.php b/app/Domains/Settings/ManageUserPreferences/Services/StoreDateFormatPreference.php index a1fb6a278..7fb6d587f 100644 --- a/app/Domains/Settings/ManageUserPreferences/Services/StoreDateFormatPreference.php +++ b/app/Domains/Settings/ManageUserPreferences/Services/StoreDateFormatPreference.php @@ -12,8 +12,6 @@ class StoreDateFormatPreference extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class StoreDateFormatPreference extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class StoreDateFormatPreference extends BaseService implements ServiceInterface /** * Store date format preferences for the given user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUserPreferences/Services/StoreHelpPreference.php b/app/Domains/Settings/ManageUserPreferences/Services/StoreHelpPreference.php index 5c6107034..a0cfb6068 100644 --- a/app/Domains/Settings/ManageUserPreferences/Services/StoreHelpPreference.php +++ b/app/Domains/Settings/ManageUserPreferences/Services/StoreHelpPreference.php @@ -11,8 +11,6 @@ class StoreHelpPreference extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class StoreHelpPreference extends BaseService /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,9 +35,6 @@ class StoreHelpPreference extends BaseService * Saves the help preferences. * If it's set to true, it will show an help button next to the main features * on the screen. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUserPreferences/Services/StoreLocale.php b/app/Domains/Settings/ManageUserPreferences/Services/StoreLocale.php index f01fd24b9..8b62524e3 100644 --- a/app/Domains/Settings/ManageUserPreferences/Services/StoreLocale.php +++ b/app/Domains/Settings/ManageUserPreferences/Services/StoreLocale.php @@ -12,8 +12,6 @@ class StoreLocale extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class StoreLocale extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class StoreLocale extends BaseService implements ServiceInterface /** * Store name order preference for the given user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUserPreferences/Services/StoreMapsPreference.php b/app/Domains/Settings/ManageUserPreferences/Services/StoreMapsPreference.php index d7f084a13..0b6501eab 100644 --- a/app/Domains/Settings/ManageUserPreferences/Services/StoreMapsPreference.php +++ b/app/Domains/Settings/ManageUserPreferences/Services/StoreMapsPreference.php @@ -12,8 +12,6 @@ class StoreMapsPreference extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class StoreMapsPreference extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class StoreMapsPreference extends BaseService implements ServiceInterface /** * Store maps preferences for the given user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUserPreferences/Services/StoreNameOrderPreference.php b/app/Domains/Settings/ManageUserPreferences/Services/StoreNameOrderPreference.php index 5673ff7b5..5bf7a39c6 100644 --- a/app/Domains/Settings/ManageUserPreferences/Services/StoreNameOrderPreference.php +++ b/app/Domains/Settings/ManageUserPreferences/Services/StoreNameOrderPreference.php @@ -12,8 +12,6 @@ class StoreNameOrderPreference extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class StoreNameOrderPreference extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class StoreNameOrderPreference extends BaseService implements ServiceInterface /** * Store name order preference for the given user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUserPreferences/Services/StoreNumberFormatPreference.php b/app/Domains/Settings/ManageUserPreferences/Services/StoreNumberFormatPreference.php index 2773ad61d..8e655308d 100644 --- a/app/Domains/Settings/ManageUserPreferences/Services/StoreNumberFormatPreference.php +++ b/app/Domains/Settings/ManageUserPreferences/Services/StoreNumberFormatPreference.php @@ -12,8 +12,6 @@ class StoreNumberFormatPreference extends BaseService implements ServiceInterfac /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class StoreNumberFormatPreference extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class StoreNumberFormatPreference extends BaseService implements ServiceInterfac /** * Store date format preferences for the given user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUserPreferences/Services/StoreTimezone.php b/app/Domains/Settings/ManageUserPreferences/Services/StoreTimezone.php index 2cbca7a62..1d479bbed 100644 --- a/app/Domains/Settings/ManageUserPreferences/Services/StoreTimezone.php +++ b/app/Domains/Settings/ManageUserPreferences/Services/StoreTimezone.php @@ -12,8 +12,6 @@ class StoreTimezone extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class StoreTimezone extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,9 +34,6 @@ class StoreTimezone extends BaseService implements ServiceInterface /** * Store name order preference for the given user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUsers/Services/AcceptInvitation.php b/app/Domains/Settings/ManageUsers/Services/AcceptInvitation.php index bb7b63410..cb1c7bc6b 100644 --- a/app/Domains/Settings/ManageUsers/Services/AcceptInvitation.php +++ b/app/Domains/Settings/ManageUsers/Services/AcceptInvitation.php @@ -18,8 +18,6 @@ class AcceptInvitation extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +31,6 @@ class AcceptInvitation extends BaseService implements ServiceInterface /** * Accept invitation. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUsers/Services/DestroyUser.php b/app/Domains/Settings/ManageUsers/Services/DestroyUser.php index 837436f42..1690750d6 100644 --- a/app/Domains/Settings/ManageUsers/Services/DestroyUser.php +++ b/app/Domains/Settings/ManageUsers/Services/DestroyUser.php @@ -17,8 +17,6 @@ class DestroyUser extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class DestroyUser extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class DestroyUser extends BaseService implements ServiceInterface /** * Destroy the given user. * The user who calls the service can't delete himself. - * - * @param array $data - * @return void */ public function execute(array $data): void { @@ -75,8 +68,6 @@ class DestroyUser extends BaseService implements ServiceInterface /** * We will destroy all the vaults the user is the manager of, IF there are * no other managers of the vault. - * - * @return void */ private function destroyAllVaults(): void { diff --git a/app/Domains/Settings/ManageUsers/Services/GiveAdministratorPrivilege.php b/app/Domains/Settings/ManageUsers/Services/GiveAdministratorPrivilege.php index d812dcdb0..dbbefbe14 100644 --- a/app/Domains/Settings/ManageUsers/Services/GiveAdministratorPrivilege.php +++ b/app/Domains/Settings/ManageUsers/Services/GiveAdministratorPrivilege.php @@ -10,8 +10,6 @@ class GiveAdministratorPrivilege extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class GiveAdministratorPrivilege extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class GiveAdministratorPrivilege extends BaseService implements ServiceInterface /** * Give the administrator permission to another user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUsers/Services/InviteUser.php b/app/Domains/Settings/ManageUsers/Services/InviteUser.php index d9cc130a5..b7ea8cac7 100644 --- a/app/Domains/Settings/ManageUsers/Services/InviteUser.php +++ b/app/Domains/Settings/ManageUsers/Services/InviteUser.php @@ -17,8 +17,6 @@ class InviteUser extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class InviteUser extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class InviteUser extends BaseService implements ServiceInterface /** * Invite another user to the account. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Settings/ManageUsers/Services/RemoveAdministratorPrivilege.php b/app/Domains/Settings/ManageUsers/Services/RemoveAdministratorPrivilege.php index d159f1c59..32909f4a2 100644 --- a/app/Domains/Settings/ManageUsers/Services/RemoveAdministratorPrivilege.php +++ b/app/Domains/Settings/ManageUsers/Services/RemoveAdministratorPrivilege.php @@ -10,8 +10,6 @@ class RemoveAdministratorPrivilege extends BaseService implements ServiceInterfa { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class RemoveAdministratorPrivilege extends BaseService implements ServiceInterfa /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -37,9 +33,6 @@ class RemoveAdministratorPrivilege extends BaseService implements ServiceInterfa /** * Remove the administrator permission from another user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Vault/ManageAddresses/Jobs/FetchAddressGeocoding.php b/app/Domains/Vault/ManageAddresses/Jobs/FetchAddressGeocoding.php index 6f754ba19..7df892038 100644 --- a/app/Domains/Vault/ManageAddresses/Jobs/FetchAddressGeocoding.php +++ b/app/Domains/Vault/ManageAddresses/Jobs/FetchAddressGeocoding.php @@ -16,15 +16,11 @@ class FetchAddressGeocoding implements ShouldQueue /** * The address instance. - * - * @var Address */ public Address $address; /** * Create a new job instance. - * - * @param Address $address */ public function __construct(Address $address) { diff --git a/app/Domains/Vault/ManageAddresses/Services/CreateAddress.php b/app/Domains/Vault/ManageAddresses/Services/CreateAddress.php index 2a9610a0a..ea47fabb1 100644 --- a/app/Domains/Vault/ManageAddresses/Services/CreateAddress.php +++ b/app/Domains/Vault/ManageAddresses/Services/CreateAddress.php @@ -13,8 +13,6 @@ class CreateAddress extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,8 +34,6 @@ class CreateAddress extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -50,9 +46,6 @@ class CreateAddress extends BaseService implements ServiceInterface /** * Create an address. - * - * @param array $data - * @return Address */ public function execute(array $data): Address { diff --git a/app/Domains/Vault/ManageAddresses/Services/DestroyAddress.php b/app/Domains/Vault/ManageAddresses/Services/DestroyAddress.php index 019e4dfc0..9a9f37c93 100644 --- a/app/Domains/Vault/ManageAddresses/Services/DestroyAddress.php +++ b/app/Domains/Vault/ManageAddresses/Services/DestroyAddress.php @@ -12,8 +12,6 @@ class DestroyAddress extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class DestroyAddress extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,8 +37,6 @@ class DestroyAddress extends BaseService implements ServiceInterface /** * Delete an address. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageAddresses/Services/GetGPSCoordinate.php b/app/Domains/Vault/ManageAddresses/Services/GetGPSCoordinate.php index e15391b61..bacdbefe6 100644 --- a/app/Domains/Vault/ManageAddresses/Services/GetGPSCoordinate.php +++ b/app/Domains/Vault/ManageAddresses/Services/GetGPSCoordinate.php @@ -20,8 +20,6 @@ class GetGPSCoordinate extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class GetGPSCoordinate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class GetGPSCoordinate extends BaseService implements ServiceInterface * This method uses LocationIQ to process the geocoding. * It should always be done through a job, and not be called directly. * Typically, the job FetchAddressGeocoding calls this service. - * - * @param array $data - * @return Address */ public function execute(array $data): Address { diff --git a/app/Domains/Vault/ManageAddresses/Services/UpdateAddress.php b/app/Domains/Vault/ManageAddresses/Services/UpdateAddress.php index 432538ee2..83b0de4aa 100644 --- a/app/Domains/Vault/ManageAddresses/Services/UpdateAddress.php +++ b/app/Domains/Vault/ManageAddresses/Services/UpdateAddress.php @@ -15,8 +15,6 @@ class UpdateAddress extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -39,8 +37,6 @@ class UpdateAddress extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -53,9 +49,6 @@ class UpdateAddress extends BaseService implements ServiceInterface /** * Update an address. - * - * @param array $data - * @return Address */ public function execute(array $data): Address { diff --git a/app/Domains/Vault/ManageCompanies/Services/CreateCompany.php b/app/Domains/Vault/ManageCompanies/Services/CreateCompany.php index 8479f2e6f..219623aaa 100644 --- a/app/Domains/Vault/ManageCompanies/Services/CreateCompany.php +++ b/app/Domains/Vault/ManageCompanies/Services/CreateCompany.php @@ -14,8 +14,6 @@ class CreateCompany extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class CreateCompany extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class CreateCompany extends BaseService implements ServiceInterface /** * Create a company. - * - * @param array $data - * @return Company */ public function execute(array $data): Company { diff --git a/app/Domains/Vault/ManageJournals/Services/AddContactToPost.php b/app/Domains/Vault/ManageJournals/Services/AddContactToPost.php index fc1916739..468f5f2a4 100644 --- a/app/Domains/Vault/ManageJournals/Services/AddContactToPost.php +++ b/app/Domains/Vault/ManageJournals/Services/AddContactToPost.php @@ -17,8 +17,6 @@ class AddContactToPost extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class AddContactToPost extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class AddContactToPost extends BaseService implements ServiceInterface /** * Add a contact to a post. - * - * @param array $data - * @return Post */ public function execute(array $data): Post { diff --git a/app/Domains/Vault/ManageJournals/Services/AddPhotoToPost.php b/app/Domains/Vault/ManageJournals/Services/AddPhotoToPost.php index bc5a489ee..a0326e392 100644 --- a/app/Domains/Vault/ManageJournals/Services/AddPhotoToPost.php +++ b/app/Domains/Vault/ManageJournals/Services/AddPhotoToPost.php @@ -17,8 +17,6 @@ class AddPhotoToPost extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class AddPhotoToPost extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class AddPhotoToPost extends BaseService implements ServiceInterface /** * Add an image to a post. - * - * @param array $data - * @return Post */ public function execute(array $data): Post { diff --git a/app/Domains/Vault/ManageJournals/Services/AddPostToSliceOfLife.php b/app/Domains/Vault/ManageJournals/Services/AddPostToSliceOfLife.php index 0adb53e23..d36d2e5c3 100644 --- a/app/Domains/Vault/ManageJournals/Services/AddPostToSliceOfLife.php +++ b/app/Domains/Vault/ManageJournals/Services/AddPostToSliceOfLife.php @@ -17,8 +17,6 @@ class AddPostToSliceOfLife extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class AddPostToSliceOfLife extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class AddPostToSliceOfLife extends BaseService implements ServiceInterface /** * Add a post to a slice of life. - * - * @param array $data - * @return SliceOfLife */ public function execute(array $data): SliceOfLife { diff --git a/app/Domains/Vault/ManageJournals/Services/AssignTag.php b/app/Domains/Vault/ManageJournals/Services/AssignTag.php index 345ea69c8..37a69a120 100644 --- a/app/Domains/Vault/ManageJournals/Services/AssignTag.php +++ b/app/Domains/Vault/ManageJournals/Services/AssignTag.php @@ -10,8 +10,6 @@ class AssignTag extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class AssignTag extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class AssignTag extends BaseService implements ServiceInterface /** * Assign a tag to the post. - * - * @param array $data - * @return Tag */ public function execute(array $data): Tag { diff --git a/app/Domains/Vault/ManageJournals/Services/CreateJournal.php b/app/Domains/Vault/ManageJournals/Services/CreateJournal.php index 3e734873b..26cca0a66 100644 --- a/app/Domains/Vault/ManageJournals/Services/CreateJournal.php +++ b/app/Domains/Vault/ManageJournals/Services/CreateJournal.php @@ -14,8 +14,6 @@ class CreateJournal extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class CreateJournal extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class CreateJournal extends BaseService implements ServiceInterface /** * Create a journal. - * - * @param array $data - * @return Journal */ public function execute(array $data): Journal { diff --git a/app/Domains/Vault/ManageJournals/Services/CreatePost.php b/app/Domains/Vault/ManageJournals/Services/CreatePost.php index 586a9e20b..5b68d4f07 100644 --- a/app/Domains/Vault/ManageJournals/Services/CreatePost.php +++ b/app/Domains/Vault/ManageJournals/Services/CreatePost.php @@ -18,8 +18,6 @@ class CreatePost extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,8 +35,6 @@ class CreatePost extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -51,9 +47,6 @@ class CreatePost extends BaseService implements ServiceInterface /** * Create a post. - * - * @param array $data - * @return Post */ public function execute(array $data): Post { @@ -98,8 +91,6 @@ class CreatePost extends BaseService implements ServiceInterface * The post sections are defined by the post template that was chosen upon * the creation of the post * All these post sections will be blank until the user fills them. - * - * @return void */ private function createPostSections(): void { diff --git a/app/Domains/Vault/ManageJournals/Services/CreateSliceOfLife.php b/app/Domains/Vault/ManageJournals/Services/CreateSliceOfLife.php index 3e79d9a0e..d96b97c5a 100644 --- a/app/Domains/Vault/ManageJournals/Services/CreateSliceOfLife.php +++ b/app/Domains/Vault/ManageJournals/Services/CreateSliceOfLife.php @@ -14,8 +14,6 @@ class CreateSliceOfLife extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class CreateSliceOfLife extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class CreateSliceOfLife extends BaseService implements ServiceInterface /** * Create a slice of life. - * - * @param array $data - * @return SliceOfLife */ public function execute(array $data): SliceOfLife { diff --git a/app/Domains/Vault/ManageJournals/Services/DestroyJournal.php b/app/Domains/Vault/ManageJournals/Services/DestroyJournal.php index d19be2b07..054af224c 100644 --- a/app/Domains/Vault/ManageJournals/Services/DestroyJournal.php +++ b/app/Domains/Vault/ManageJournals/Services/DestroyJournal.php @@ -14,8 +14,6 @@ class DestroyJournal extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ class DestroyJournal extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -43,9 +39,6 @@ class DestroyJournal extends BaseService implements ServiceInterface /** * Delete a journal. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageJournals/Services/DestroyPost.php b/app/Domains/Vault/ManageJournals/Services/DestroyPost.php index dcd6e581f..d69850425 100644 --- a/app/Domains/Vault/ManageJournals/Services/DestroyPost.php +++ b/app/Domains/Vault/ManageJournals/Services/DestroyPost.php @@ -14,8 +14,6 @@ class DestroyPost extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class DestroyPost extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class DestroyPost extends BaseService implements ServiceInterface /** * Delete a journal. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageJournals/Services/DestroySliceOfLife.php b/app/Domains/Vault/ManageJournals/Services/DestroySliceOfLife.php index f1a10b5a4..1b5f0014c 100644 --- a/app/Domains/Vault/ManageJournals/Services/DestroySliceOfLife.php +++ b/app/Domains/Vault/ManageJournals/Services/DestroySliceOfLife.php @@ -14,8 +14,6 @@ class DestroySliceOfLife extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class DestroySliceOfLife extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class DestroySliceOfLife extends BaseService implements ServiceInterface /** * Delete a slice of life. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageJournals/Services/IncrementPostReadCounter.php b/app/Domains/Vault/ManageJournals/Services/IncrementPostReadCounter.php index a1e9eb615..cbd4b86b7 100644 --- a/app/Domains/Vault/ManageJournals/Services/IncrementPostReadCounter.php +++ b/app/Domains/Vault/ManageJournals/Services/IncrementPostReadCounter.php @@ -14,8 +14,6 @@ class IncrementPostReadCounter extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class IncrementPostReadCounter extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class IncrementPostReadCounter extends BaseService implements ServiceInterface /** * Increment the read counter of a post. - * - * @param array $data - * @return Post */ public function execute(array $data): Post { diff --git a/app/Domains/Vault/ManageJournals/Services/RemoveContactFromPost.php b/app/Domains/Vault/ManageJournals/Services/RemoveContactFromPost.php index a87df6a54..e31e4d209 100644 --- a/app/Domains/Vault/ManageJournals/Services/RemoveContactFromPost.php +++ b/app/Domains/Vault/ManageJournals/Services/RemoveContactFromPost.php @@ -17,8 +17,6 @@ class RemoveContactFromPost extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class RemoveContactFromPost extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class RemoveContactFromPost extends BaseService implements ServiceInterface /** * Remove a contact from a post. - * - * @param array $data - * @return Post */ public function execute(array $data): Post { diff --git a/app/Domains/Vault/ManageJournals/Services/RemovePostFromSliceOfLife.php b/app/Domains/Vault/ManageJournals/Services/RemovePostFromSliceOfLife.php index 1de44ed46..a5b982212 100644 --- a/app/Domains/Vault/ManageJournals/Services/RemovePostFromSliceOfLife.php +++ b/app/Domains/Vault/ManageJournals/Services/RemovePostFromSliceOfLife.php @@ -14,8 +14,6 @@ class RemovePostFromSliceOfLife extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class RemovePostFromSliceOfLife extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class RemovePostFromSliceOfLife extends BaseService implements ServiceInterface /** * Remove the post from a slice of life. - * - * @param array $data - * @return void */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageJournals/Services/RemoveSliceOfLifeCoverImage.php b/app/Domains/Vault/ManageJournals/Services/RemoveSliceOfLifeCoverImage.php index ef3aabdfb..fd3a5ad22 100644 --- a/app/Domains/Vault/ManageJournals/Services/RemoveSliceOfLifeCoverImage.php +++ b/app/Domains/Vault/ManageJournals/Services/RemoveSliceOfLifeCoverImage.php @@ -14,8 +14,6 @@ class RemoveSliceOfLifeCoverImage extends BaseService implements ServiceInterfac /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class RemoveSliceOfLifeCoverImage extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class RemoveSliceOfLifeCoverImage extends BaseService implements ServiceInterfac /** * Remove the slice of life cover image. - * - * @param array $data - * @return SliceOfLife */ public function execute(array $data): SliceOfLife { diff --git a/app/Domains/Vault/ManageJournals/Services/RemoveTag.php b/app/Domains/Vault/ManageJournals/Services/RemoveTag.php index f734e3057..24af5dd24 100644 --- a/app/Domains/Vault/ManageJournals/Services/RemoveTag.php +++ b/app/Domains/Vault/ManageJournals/Services/RemoveTag.php @@ -10,8 +10,6 @@ class RemoveTag extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class RemoveTag extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class RemoveTag extends BaseService implements ServiceInterface /** * Remove a tag from the post. - * - * @param array $data - * @return Tag */ public function execute(array $data): Tag { diff --git a/app/Domains/Vault/ManageJournals/Services/SetSliceOfLifeCoverImage.php b/app/Domains/Vault/ManageJournals/Services/SetSliceOfLifeCoverImage.php index a1c04c963..7dd2b565e 100644 --- a/app/Domains/Vault/ManageJournals/Services/SetSliceOfLifeCoverImage.php +++ b/app/Domains/Vault/ManageJournals/Services/SetSliceOfLifeCoverImage.php @@ -17,8 +17,6 @@ class SetSliceOfLifeCoverImage extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class SetSliceOfLifeCoverImage extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class SetSliceOfLifeCoverImage extends BaseService implements ServiceInterface /** * Set the slice of life cover image. - * - * @param array $data - * @return SliceOfLife */ public function execute(array $data): SliceOfLife { diff --git a/app/Domains/Vault/ManageJournals/Services/UpdateJournal.php b/app/Domains/Vault/ManageJournals/Services/UpdateJournal.php index b2cd8d759..554d771a2 100644 --- a/app/Domains/Vault/ManageJournals/Services/UpdateJournal.php +++ b/app/Domains/Vault/ManageJournals/Services/UpdateJournal.php @@ -14,8 +14,6 @@ class UpdateJournal extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateJournal extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class UpdateJournal extends BaseService implements ServiceInterface /** * Update a journal. - * - * @param array $data - * @return Journal */ public function execute(array $data): Journal { diff --git a/app/Domains/Vault/ManageJournals/Services/UpdatePost.php b/app/Domains/Vault/ManageJournals/Services/UpdatePost.php index aafdd533f..58f533cfa 100644 --- a/app/Domains/Vault/ManageJournals/Services/UpdatePost.php +++ b/app/Domains/Vault/ManageJournals/Services/UpdatePost.php @@ -14,8 +14,6 @@ class UpdatePost extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,8 +31,6 @@ class UpdatePost extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -47,9 +43,6 @@ class UpdatePost extends BaseService implements ServiceInterface /** * Update a post. - * - * @param array $data - * @return Post */ public function execute(array $data): Post { diff --git a/app/Domains/Vault/ManageJournals/Services/UpdateSliceOfLife.php b/app/Domains/Vault/ManageJournals/Services/UpdateSliceOfLife.php index 76d76b06c..cf42c1cc1 100644 --- a/app/Domains/Vault/ManageJournals/Services/UpdateSliceOfLife.php +++ b/app/Domains/Vault/ManageJournals/Services/UpdateSliceOfLife.php @@ -14,8 +14,6 @@ class UpdateSliceOfLife extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class UpdateSliceOfLife extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class UpdateSliceOfLife extends BaseService implements ServiceInterface /** * Update a slice of life. - * - * @param array $data - * @return SliceOfLife */ public function execute(array $data): SliceOfLife { diff --git a/app/Domains/Vault/ManageJournals/Web/Controllers/PostController.php b/app/Domains/Vault/ManageJournals/Web/Controllers/PostController.php index 1f5cdf7e4..2d8c63587 100644 --- a/app/Domains/Vault/ManageJournals/Web/Controllers/PostController.php +++ b/app/Domains/Vault/ManageJournals/Web/Controllers/PostController.php @@ -41,11 +41,6 @@ class PostController extends Controller * The post will be created upon visiting the page. * This will create the post as a draft, with all the post sections * populated from the post template. - * - * @param Request $request - * @param int $vaultId - * @param int $journalId - * @param int $templateId */ public function store(Request $request, int $vaultId, int $journalId, int $templateId) { diff --git a/app/Domains/Vault/ManageJournals/Web/ViewHelpers/JournalShowViewHelper.php b/app/Domains/Vault/ManageJournals/Web/ViewHelpers/JournalShowViewHelper.php index 16f0a1bff..382d4cb89 100644 --- a/app/Domains/Vault/ManageJournals/Web/ViewHelpers/JournalShowViewHelper.php +++ b/app/Domains/Vault/ManageJournals/Web/ViewHelpers/JournalShowViewHelper.php @@ -45,10 +45,6 @@ class JournalShowViewHelper /** * Get all the posts in the given year, ordered by month descending. * - * @param Journal $journal - * @param int $year - * @param User $user - * @return Collection * * @psalm-suppress NoValue */ @@ -129,9 +125,6 @@ class JournalShowViewHelper /** * Get all the years that have posts in the journal. - * - * @param Journal $journal - * @return Collection */ public static function yearsOfContentInJournal(Journal $journal): Collection { diff --git a/app/Domains/Vault/ManageReports/Web/ViewHelpers/ReportImportantDateSummaryIndexViewHelper.php b/app/Domains/Vault/ManageReports/Web/ViewHelpers/ReportImportantDateSummaryIndexViewHelper.php index f5df08dcc..36f8fa9eb 100644 --- a/app/Domains/Vault/ManageReports/Web/ViewHelpers/ReportImportantDateSummaryIndexViewHelper.php +++ b/app/Domains/Vault/ManageReports/Web/ViewHelpers/ReportImportantDateSummaryIndexViewHelper.php @@ -16,10 +16,6 @@ class ReportImportantDateSummaryIndexViewHelper /** * Get all the important dates for a given contact. * This screen will list all the important dates for the next 12 months. - * - * @param Vault $vault - * @param User $user - * @return array */ public static function data(Vault $vault, User $user): array { diff --git a/app/Domains/Vault/ManageReports/Web/ViewHelpers/ReportMoodTrackingEventIndexViewHelper.php b/app/Domains/Vault/ManageReports/Web/ViewHelpers/ReportMoodTrackingEventIndexViewHelper.php index c621eaeba..b594341d7 100644 --- a/app/Domains/Vault/ManageReports/Web/ViewHelpers/ReportMoodTrackingEventIndexViewHelper.php +++ b/app/Domains/Vault/ManageReports/Web/ViewHelpers/ReportMoodTrackingEventIndexViewHelper.php @@ -24,11 +24,6 @@ class ReportMoodTrackingEventIndexViewHelper /** * Get all the mood tracking events for the given year - * - * @param Vault $vault - * @param User $user - * @param int $year - * @return Collection */ private static function year(Vault $vault, User $user, int $year): Collection { diff --git a/app/Domains/Vault/ManageVault/Services/CreateVault.php b/app/Domains/Vault/ManageVault/Services/CreateVault.php index 1401846e4..ae84e68bd 100644 --- a/app/Domains/Vault/ManageVault/Services/CreateVault.php +++ b/app/Domains/Vault/ManageVault/Services/CreateVault.php @@ -20,8 +20,6 @@ class CreateVault extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,8 +35,6 @@ class CreateVault extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class CreateVault extends BaseService implements ServiceInterface /** * Create a vault. - * - * @param array $data - * @return Vault */ public function execute(array $data): Vault { diff --git a/app/Domains/Vault/ManageVault/Services/DestroyVault.php b/app/Domains/Vault/ManageVault/Services/DestroyVault.php index c01971785..f97967961 100644 --- a/app/Domains/Vault/ManageVault/Services/DestroyVault.php +++ b/app/Domains/Vault/ManageVault/Services/DestroyVault.php @@ -10,8 +10,6 @@ class DestroyVault extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class DestroyVault extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,8 +34,6 @@ class DestroyVault extends BaseService implements ServiceInterface /** * Destroy a vault. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageVault/Services/UpdateVault.php b/app/Domains/Vault/ManageVault/Services/UpdateVault.php index 0c5cda3b6..ab69e179a 100644 --- a/app/Domains/Vault/ManageVault/Services/UpdateVault.php +++ b/app/Domains/Vault/ManageVault/Services/UpdateVault.php @@ -10,8 +10,6 @@ class UpdateVault extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class UpdateVault extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class UpdateVault extends BaseService implements ServiceInterface /** * Update a vault. - * - * @param array $data - * @return Vault */ public function execute(array $data): Vault { diff --git a/app/Domains/Vault/ManageVault/Services/UpdateVaultDashboardDefaultTab.php b/app/Domains/Vault/ManageVault/Services/UpdateVaultDashboardDefaultTab.php index 487539432..0f409e3b7 100644 --- a/app/Domains/Vault/ManageVault/Services/UpdateVaultDashboardDefaultTab.php +++ b/app/Domains/Vault/ManageVault/Services/UpdateVaultDashboardDefaultTab.php @@ -10,8 +10,6 @@ class UpdateVaultDashboardDefaultTab extends BaseService implements ServiceInter { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class UpdateVaultDashboardDefaultTab extends BaseService implements ServiceInter /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,9 +35,6 @@ class UpdateVaultDashboardDefaultTab extends BaseService implements ServiceInter /** * Update a vault's default tab displayed on the dashboard. - * - * @param array $data - * @return Vault */ public function execute(array $data): Vault { diff --git a/app/Domains/Vault/ManageVault/Services/UpdateVaultTabVisibility.php b/app/Domains/Vault/ManageVault/Services/UpdateVaultTabVisibility.php index 0f924dd09..28aa88e34 100644 --- a/app/Domains/Vault/ManageVault/Services/UpdateVaultTabVisibility.php +++ b/app/Domains/Vault/ManageVault/Services/UpdateVaultTabVisibility.php @@ -10,8 +10,6 @@ class UpdateVaultTabVisibility extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class UpdateVaultTabVisibility extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class UpdateVaultTabVisibility extends BaseService implements ServiceInterface /** * Update a vault. - * - * @param array $data - * @return Vault */ public function execute(array $data): Vault { diff --git a/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultIndexViewHelper.php b/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultIndexViewHelper.php index 323506e51..b68d5ebbf 100644 --- a/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultIndexViewHelper.php +++ b/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultIndexViewHelper.php @@ -13,9 +13,6 @@ class VaultIndexViewHelper { /** * Get all the data needed for the general layout page. - * - * @param Vault|null $vault - * @return array */ public static function layoutData(Vault $vault = null): array { diff --git a/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultReminderIndexViewHelper.php b/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultReminderIndexViewHelper.php index 12fcddb14..1a77166d3 100644 --- a/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultReminderIndexViewHelper.php +++ b/app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultReminderIndexViewHelper.php @@ -15,10 +15,6 @@ class VaultReminderIndexViewHelper { /** * Get all the reminders planned in the next 12 months. - * - * @param Vault $vault - * @param User $user - * @return Collection */ public static function data(Vault $vault, User $user): Collection { diff --git a/app/Domains/Vault/ManageVaultImportantDateTypes/Services/CreateContactImportantDateType.php b/app/Domains/Vault/ManageVaultImportantDateTypes/Services/CreateContactImportantDateType.php index 76166051e..c71905aa9 100644 --- a/app/Domains/Vault/ManageVaultImportantDateTypes/Services/CreateContactImportantDateType.php +++ b/app/Domains/Vault/ManageVaultImportantDateTypes/Services/CreateContactImportantDateType.php @@ -10,8 +10,6 @@ class CreateContactImportantDateType extends BaseService implements ServiceInter { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class CreateContactImportantDateType extends BaseService implements ServiceInter /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class CreateContactImportantDateType extends BaseService implements ServiceInter /** * Create a contact important date type. - * - * @param array $data - * @return ContactImportantDateType */ public function execute(array $data): ContactImportantDateType { diff --git a/app/Domains/Vault/ManageVaultImportantDateTypes/Services/DestroyContactImportantDateType.php b/app/Domains/Vault/ManageVaultImportantDateTypes/Services/DestroyContactImportantDateType.php index 907d98010..7c046a091 100644 --- a/app/Domains/Vault/ManageVaultImportantDateTypes/Services/DestroyContactImportantDateType.php +++ b/app/Domains/Vault/ManageVaultImportantDateTypes/Services/DestroyContactImportantDateType.php @@ -10,8 +10,6 @@ class DestroyContactImportantDateType extends BaseService implements ServiceInte { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class DestroyContactImportantDateType extends BaseService implements ServiceInte /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,8 +35,6 @@ class DestroyContactImportantDateType extends BaseService implements ServiceInte /** * Destroy a contact important date type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageVaultImportantDateTypes/Services/UpdateContactImportantDateType.php b/app/Domains/Vault/ManageVaultImportantDateTypes/Services/UpdateContactImportantDateType.php index f03f41972..eb93d0d3a 100644 --- a/app/Domains/Vault/ManageVaultImportantDateTypes/Services/UpdateContactImportantDateType.php +++ b/app/Domains/Vault/ManageVaultImportantDateTypes/Services/UpdateContactImportantDateType.php @@ -10,8 +10,6 @@ class UpdateContactImportantDateType extends BaseService implements ServiceInter { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class UpdateContactImportantDateType extends BaseService implements ServiceInter /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class UpdateContactImportantDateType extends BaseService implements ServiceInter /** * Update a contact important date type. - * - * @param array $data - * @return ContactImportantDateType */ public function execute(array $data): ContactImportantDateType { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/ChangeVaultAccess.php b/app/Domains/Vault/ManageVaultSettings/Services/ChangeVaultAccess.php index c3f72f2e2..998d9c39c 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/ChangeVaultAccess.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/ChangeVaultAccess.php @@ -15,8 +15,6 @@ class ChangeVaultAccess extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class ChangeVaultAccess extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class ChangeVaultAccess extends BaseService implements ServiceInterface /** * Change the access type of the given user in the given vault. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/CreateLabel.php b/app/Domains/Vault/ManageVaultSettings/Services/CreateLabel.php index 25f6f9eed..98ee54004 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/CreateLabel.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/CreateLabel.php @@ -13,8 +13,6 @@ class CreateLabel extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class CreateLabel extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class CreateLabel extends BaseService implements ServiceInterface /** * Create a label. - * - * @param array $data - * @return Label */ public function execute(array $data): Label { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/CreateLifeEventCategory.php b/app/Domains/Vault/ManageVaultSettings/Services/CreateLifeEventCategory.php index 26f9efe46..7dee3ca82 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/CreateLifeEventCategory.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/CreateLifeEventCategory.php @@ -10,8 +10,6 @@ class CreateLifeEventCategory extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class CreateLifeEventCategory extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,9 +36,6 @@ class CreateLifeEventCategory extends BaseService implements ServiceInterface /** * Create a life event category. - * - * @param array $data - * @return LifeEventCategory */ public function execute(array $data): LifeEventCategory { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/CreateLifeEventType.php b/app/Domains/Vault/ManageVaultSettings/Services/CreateLifeEventType.php index 83010d10b..5e4e5f4da 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/CreateLifeEventType.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/CreateLifeEventType.php @@ -10,8 +10,6 @@ class CreateLifeEventType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class CreateLifeEventType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class CreateLifeEventType extends BaseService implements ServiceInterface /** * Create a life event type. - * - * @param array $data - * @return LifeEventType */ public function execute(array $data): LifeEventType { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/CreateMoodTrackingParameter.php b/app/Domains/Vault/ManageVaultSettings/Services/CreateMoodTrackingParameter.php index da2a0deaa..98fe91a98 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/CreateMoodTrackingParameter.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/CreateMoodTrackingParameter.php @@ -12,8 +12,6 @@ class CreateMoodTrackingParameter extends BaseService implements ServiceInterfac /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class CreateMoodTrackingParameter extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class CreateMoodTrackingParameter extends BaseService implements ServiceInterfac /** * Create a mood tracking parameter. - * - * @param array $data - * @return MoodTrackingParameter */ public function execute(array $data): MoodTrackingParameter { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/CreateTag.php b/app/Domains/Vault/ManageVaultSettings/Services/CreateTag.php index 4e2edb044..f308b6276 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/CreateTag.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/CreateTag.php @@ -13,8 +13,6 @@ class CreateTag extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class CreateTag extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class CreateTag extends BaseService implements ServiceInterface /** * Create a tag. - * - * @param array $data - * @return Tag */ public function execute(array $data): Tag { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/DestroyLabel.php b/app/Domains/Vault/ManageVaultSettings/Services/DestroyLabel.php index fdb8b7f2c..3198a1e67 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/DestroyLabel.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/DestroyLabel.php @@ -9,8 +9,6 @@ class DestroyLabel extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class DestroyLabel extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,8 +34,6 @@ class DestroyLabel extends BaseService implements ServiceInterface /** * Destroy a label. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/DestroyLifeEventCategory.php b/app/Domains/Vault/ManageVaultSettings/Services/DestroyLifeEventCategory.php index 139adcd2b..9cbb3152f 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/DestroyLifeEventCategory.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/DestroyLifeEventCategory.php @@ -10,8 +10,6 @@ class DestroyLifeEventCategory extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class DestroyLifeEventCategory extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,8 +35,6 @@ class DestroyLifeEventCategory extends BaseService implements ServiceInterface /** * Destroy a life event category. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/DestroyLifeEventType.php b/app/Domains/Vault/ManageVaultSettings/Services/DestroyLifeEventType.php index 79ccb8287..2ce2b3e4a 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/DestroyLifeEventType.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/DestroyLifeEventType.php @@ -10,8 +10,6 @@ class DestroyLifeEventType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ class DestroyLifeEventType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -40,8 +36,6 @@ class DestroyLifeEventType extends BaseService implements ServiceInterface /** * Destroy a life activity type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/DestroyMoodTrackingParameter.php b/app/Domains/Vault/ManageVaultSettings/Services/DestroyMoodTrackingParameter.php index 4b412a1c5..d06584889 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/DestroyMoodTrackingParameter.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/DestroyMoodTrackingParameter.php @@ -9,8 +9,6 @@ class DestroyMoodTrackingParameter extends BaseService implements ServiceInterfa { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class DestroyMoodTrackingParameter extends BaseService implements ServiceInterfa /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,8 +34,6 @@ class DestroyMoodTrackingParameter extends BaseService implements ServiceInterfa /** * Destroy a mood tracking parameter. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/DestroyTag.php b/app/Domains/Vault/ManageVaultSettings/Services/DestroyTag.php index 0ae24e34d..21c827294 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/DestroyTag.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/DestroyTag.php @@ -9,8 +9,6 @@ class DestroyTag extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,8 +22,6 @@ class DestroyTag extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -38,8 +34,6 @@ class DestroyTag extends BaseService implements ServiceInterface /** * Destroy a tag. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/GrantVaultAccessToUser.php b/app/Domains/Vault/ManageVaultSettings/Services/GrantVaultAccessToUser.php index 4b5ca924f..751543d19 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/GrantVaultAccessToUser.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/GrantVaultAccessToUser.php @@ -18,8 +18,6 @@ class GrantVaultAccessToUser extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ class GrantVaultAccessToUser extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -48,9 +44,6 @@ class GrantVaultAccessToUser extends BaseService implements ServiceInterface /** * Grant the access to the given vault to the given user. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/RemoveVaultAccess.php b/app/Domains/Vault/ManageVaultSettings/Services/RemoveVaultAccess.php index e1c321f84..74acac3b2 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/RemoveVaultAccess.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/RemoveVaultAccess.php @@ -17,8 +17,6 @@ class RemoveVaultAccess extends BaseService implements ServiceInterface /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class RemoveVaultAccess extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,8 +42,6 @@ class RemoveVaultAccess extends BaseService implements ServiceInterface /** * Remove the access to the given vault to the given user. - * - * @param array $data */ public function execute(array $data): void { @@ -88,8 +82,6 @@ class RemoveVaultAccess extends BaseService implements ServiceInterface /** * We need to remove all the contact reminders that were scheduled for this * user in this vault. - * - * @return void */ private function removeAllRemindersForThisUserInThisVault(): void { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLabel.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLabel.php index 1e58ded2f..bf396e001 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLabel.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLabel.php @@ -11,8 +11,6 @@ class UpdateLabel extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,8 +28,6 @@ class UpdateLabel extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -44,9 +40,6 @@ class UpdateLabel extends BaseService implements ServiceInterface /** * Update a label. - * - * @param array $data - * @return Label */ public function execute(array $data): Label { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventCategory.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventCategory.php index 835beadea..cab3b2f17 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventCategory.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventCategory.php @@ -10,8 +10,6 @@ class UpdateLifeEventCategory extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class UpdateLifeEventCategory extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class UpdateLifeEventCategory extends BaseService implements ServiceInterface /** * Update a life event category. - * - * @param array $data - * @return LifeEventCategory */ public function execute(array $data): LifeEventCategory { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventCategoryPosition.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventCategoryPosition.php index b208517ab..eed467c6d 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventCategoryPosition.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventCategoryPosition.php @@ -16,8 +16,6 @@ class UpdateLifeEventCategoryPosition extends BaseService implements ServiceInte /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ class UpdateLifeEventCategoryPosition extends BaseService implements ServiceInte /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -45,9 +41,6 @@ class UpdateLifeEventCategoryPosition extends BaseService implements ServiceInte /** * Update the life event type's position. - * - * @param array $data - * @return LifeEventCategory */ public function execute(array $data): LifeEventCategory { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventType.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventType.php index f920e65c6..18cc50657 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventType.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventType.php @@ -10,8 +10,6 @@ class UpdateLifeEventType extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ class UpdateLifeEventType extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -42,9 +38,6 @@ class UpdateLifeEventType extends BaseService implements ServiceInterface /** * Update a life event type. - * - * @param array $data - * @return LifeEventType */ public function execute(array $data): LifeEventType { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventTypePosition.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventTypePosition.php index 78f988b7a..19e5987cd 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventTypePosition.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateLifeEventTypePosition.php @@ -19,8 +19,6 @@ class UpdateLifeEventTypePosition extends BaseService implements ServiceInterfac /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ class UpdateLifeEventTypePosition extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -49,9 +45,6 @@ class UpdateLifeEventTypePosition extends BaseService implements ServiceInterfac /** * Update the life event type's position. - * - * @param array $data - * @return LifeEventType */ public function execute(array $data): LifeEventType { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateMoodTrackingParameter.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateMoodTrackingParameter.php index 7c25e948e..75fe0af56 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateMoodTrackingParameter.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateMoodTrackingParameter.php @@ -10,8 +10,6 @@ class UpdateMoodTrackingParameter extends BaseService implements ServiceInterfac { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class UpdateMoodTrackingParameter extends BaseService implements ServiceInterfac /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class UpdateMoodTrackingParameter extends BaseService implements ServiceInterfac /** * Update a mood tracking parameter. - * - * @param array $data - * @return MoodTrackingParameter */ public function execute(array $data): MoodTrackingParameter { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateMoodTrackingParameterPosition.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateMoodTrackingParameterPosition.php index e0e9e5d7c..8cee19a1e 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateMoodTrackingParameterPosition.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateMoodTrackingParameterPosition.php @@ -16,8 +16,6 @@ class UpdateMoodTrackingParameterPosition extends BaseService implements Service /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +30,6 @@ class UpdateMoodTrackingParameterPosition extends BaseService implements Service /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -46,9 +42,6 @@ class UpdateMoodTrackingParameterPosition extends BaseService implements Service /** * Update the mood tracking parameter's position. - * - * @param array $data - * @return MoodTrackingParameter */ public function execute(array $data): MoodTrackingParameter { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateTag.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateTag.php index 534d35e34..f88798641 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateTag.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateTag.php @@ -11,8 +11,6 @@ class UpdateTag extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,8 +25,6 @@ class UpdateTag extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -41,9 +37,6 @@ class UpdateTag extends BaseService implements ServiceInterface /** * Update a tag. - * - * @param array $data - * @return Tag */ public function execute(array $data): Tag { diff --git a/app/Domains/Vault/ManageVaultSettings/Services/UpdateVaultDefaultTemplate.php b/app/Domains/Vault/ManageVaultSettings/Services/UpdateVaultDefaultTemplate.php index 11387bdc5..873d39427 100644 --- a/app/Domains/Vault/ManageVaultSettings/Services/UpdateVaultDefaultTemplate.php +++ b/app/Domains/Vault/ManageVaultSettings/Services/UpdateVaultDefaultTemplate.php @@ -10,8 +10,6 @@ class UpdateVaultDefaultTemplate extends BaseService implements ServiceInterface { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,8 +23,6 @@ class UpdateVaultDefaultTemplate extends BaseService implements ServiceInterface /** * Get the permissions that apply to the user calling the service. - * - * @return array */ public function permissions(): array { @@ -39,9 +35,6 @@ class UpdateVaultDefaultTemplate extends BaseService implements ServiceInterface /** * Update the vault's default template. - * - * @param array $data - * @return Vault */ public function execute(array $data): Vault { diff --git a/app/Domains/Vault/Search/Web/Controllers/VaultMostConsultedContactsController.php b/app/Domains/Vault/Search/Web/Controllers/VaultMostConsultedContactsController.php index aeff85508..6585eda3e 100644 --- a/app/Domains/Vault/Search/Web/Controllers/VaultMostConsultedContactsController.php +++ b/app/Domains/Vault/Search/Web/Controllers/VaultMostConsultedContactsController.php @@ -14,10 +14,6 @@ class VaultMostConsultedContactsController extends Controller /** * Get the list of the most consulted contacts by the given user in the * current vault. - * - * @param Request $request - * @param int $vaultId - * @return JsonResponse */ public function index(Request $request, int $vaultId): JsonResponse { diff --git a/app/Helpers/AvatarHelper.php b/app/Helpers/AvatarHelper.php index a356d7755..87b6a00f1 100644 --- a/app/Helpers/AvatarHelper.php +++ b/app/Helpers/AvatarHelper.php @@ -15,9 +15,6 @@ class AvatarHelper * However, contacts can be created in Monica without a name. When this case * happens, we'll generate a fake name for the contact, and generate an avatar * based on that name. - * - * @param Contact $contact - * @return string */ public static function generateRandomAvatar(Contact $contact): string { diff --git a/app/Helpers/ContactCardHelper.php b/app/Helpers/ContactCardHelper.php index dcc9c8bdf..2b9a4ebcf 100644 --- a/app/Helpers/ContactCardHelper.php +++ b/app/Helpers/ContactCardHelper.php @@ -10,9 +10,6 @@ class ContactCardHelper /** * Get all the information about a contact needed to display the contact card * component. - * - * @param Contact $contact - * @return array */ public static function data(Contact $contact): array { diff --git a/app/Helpers/ContactImportantDateHelper.php b/app/Helpers/ContactImportantDateHelper.php index 7dea4ef9f..5b2caccae 100644 --- a/app/Helpers/ContactImportantDateHelper.php +++ b/app/Helpers/ContactImportantDateHelper.php @@ -10,8 +10,6 @@ class ContactImportantDateHelper { /** * Get the important date type from the vault. - * - * @return null|ContactImportantDateType */ public static function getImportantDateType(string $type, int $vault_id): ?ContactImportantDateType { diff --git a/app/Helpers/ContactReminderHelper.php b/app/Helpers/ContactReminderHelper.php index b38970a2a..2b742dbc7 100644 --- a/app/Helpers/ContactReminderHelper.php +++ b/app/Helpers/ContactReminderHelper.php @@ -11,10 +11,6 @@ class ContactReminderHelper /** * Get the date as a string, based on the preferred date format of the given * user. - * - * @param ContactReminder $reminder - * @param User $user - * @return string|null */ public static function formatDate(ContactReminder $reminder, User $user): ?string { diff --git a/app/Helpers/DateHelper.php b/app/Helpers/DateHelper.php index 7d800a298..bd55072ba 100644 --- a/app/Helpers/DateHelper.php +++ b/app/Helpers/DateHelper.php @@ -11,10 +11,6 @@ class DateHelper /** * Return a date according to the timezone of the user, and the format * stored in the preferences for this user. - * - * @param Carbon $date - * @param User $user - * @return string */ public static function format(Carbon $date, User $user): string { @@ -25,9 +21,7 @@ class DateHelper * Return a date according to the timezone of the user, in a * short format like "Oct 29, 1981". * - * @param Carbon $date * @param string $timezone - * @return string */ public static function formatDate(Carbon $date, string $timezone = null): string { @@ -42,9 +36,7 @@ class DateHelper * Return a date and the time according to the timezone of the user, in a * short format like "Oct 29, 1981 19:32". * - * @param Carbon $date * @param string $timezone - * @return string */ public static function formatShortDateWithTime(Carbon $date, string $timezone = null): string { @@ -57,9 +49,6 @@ class DateHelper /** * Return the day and the month in a format like "July 29th". - * - * @param Carbon $date - * @return string */ public static function formatMonthAndDay(Carbon $date): string { @@ -68,9 +57,6 @@ class DateHelper /** * Return the short month and the year in a format like "Jul 2020". - * - * @param Carbon $date - * @return string */ public static function formatMonthAndYear(Carbon $date): string { @@ -79,9 +65,6 @@ class DateHelper /** * Return the long month and the year in a format like "September 2020". - * - * @param Carbon $date - * @return string */ public static function formatLongMonthAndYear(Carbon $date): string { @@ -90,9 +73,6 @@ class DateHelper /** * Return the day and the month in a format like "Jul 29". - * - * @param Carbon $date - * @return string */ public static function formatShortMonthAndDay(Carbon $date): string { @@ -101,9 +81,6 @@ class DateHelper /** * Return the day in a format like "Mon". - * - * @param Carbon $date - * @return string */ public static function formatShortDay(Carbon $date): string { @@ -113,9 +90,7 @@ class DateHelper /** * Return the day and the month in a format like "Monday (July 29th)". * - * @param Carbon $date * @param string $timezone - * @return string */ public static function formatDayAndMonthInParenthesis(Carbon $date, string $timezone = null): string { @@ -128,9 +103,6 @@ class DateHelper /** * Return the complete date like "Monday, July 29th 2020". - * - * @param Carbon $date - * @return string */ public static function formatFullDate(Carbon $date): string { @@ -139,9 +111,6 @@ class DateHelper /** * Return the day as a number, like "03". - * - * @param Carbon $date - * @return string */ public static function formatDayNumber(Carbon $date): string { @@ -150,9 +119,6 @@ class DateHelper /** * Return the first letter of the month, like "Jan" for January. - * - * @param $date - * @return string */ public static function formatMonthNumber($date): string { @@ -161,8 +127,6 @@ class DateHelper /** * Return a collection of months. - * - * @return Collection */ public static function getMonths(): Collection { @@ -180,8 +144,6 @@ class DateHelper /** * Return a collection of days. - * - * @return Collection */ public static function getDays(): Collection { @@ -198,9 +160,6 @@ class DateHelper /** * Return the date as timestamp. - * - * @param Carbon|null $date - * @return string */ public static function getTimestamp(?Carbon $date): string { diff --git a/app/Helpers/FileHelper.php b/app/Helpers/FileHelper.php index 89193606d..173e483c3 100644 --- a/app/Helpers/FileHelper.php +++ b/app/Helpers/FileHelper.php @@ -6,9 +6,6 @@ class FileHelper { /** * Formats the file size to a human readable size. - * - * @param int $bytes - * @return string|null */ public static function formatFileSize(int $bytes): ?string { diff --git a/app/Helpers/GoalHelper.php b/app/Helpers/GoalHelper.php index ccea312e5..c66d484a3 100644 --- a/app/Helpers/GoalHelper.php +++ b/app/Helpers/GoalHelper.php @@ -12,8 +12,6 @@ class GoalHelper /** * Get the information about the contact linked to the given user, in the * given vault. - * - * @return null|array */ public static function getStreakData(Goal $goal): ?array { diff --git a/app/Helpers/ImportantDateHelper.php b/app/Helpers/ImportantDateHelper.php index b3451c7db..0ea28100d 100644 --- a/app/Helpers/ImportantDateHelper.php +++ b/app/Helpers/ImportantDateHelper.php @@ -10,9 +10,6 @@ class ImportantDateHelper { /** * Get the age represented by a Contact Important Date. - * - * @param ContactImportantDate $date - * @return int|null */ public static function getAge(ContactImportantDate $date): ?int { @@ -43,10 +40,6 @@ class ImportantDateHelper /** * Get the date as a string, based on the prefered date format of the given * user. - * - * @param ContactImportantDate $date - * @param User $user - * @return string|null */ public static function formatDate(ContactImportantDate $date, User $user): ?string { @@ -86,9 +79,6 @@ class ImportantDateHelper * - fullDate * - monthDay * - year. - * - * @param ContactImportantDate $date - * @return string|null */ public static function determineType(ContactImportantDate $date): ?string { diff --git a/app/Helpers/MapHelper.php b/app/Helpers/MapHelper.php index 545bf055f..abeb9f5fa 100644 --- a/app/Helpers/MapHelper.php +++ b/app/Helpers/MapHelper.php @@ -11,10 +11,6 @@ class MapHelper /** * Return a link for the given address, on the website based on the * preferences of the given user. - * - * @param Address $address - * @param User $user - * @return string */ public static function getMapLink(Address $address, User $user): string { @@ -39,8 +35,6 @@ class MapHelper /** * Get the address as a sentence. - * - * @return string|null */ public static function getAddressAsString(Address $address): ?string { @@ -76,12 +70,6 @@ class MapHelper /** * Return the URL for a static image for the given place. - * - * @param Address $address - * @param int $width - * @param int $height - * @param int $zoom - * @return string|null */ public static function getStaticImage(Address $address, int $width, int $height, int $zoom = 7): ?string { diff --git a/app/Helpers/MonetaryNumberHelper.php b/app/Helpers/MonetaryNumberHelper.php index ecbcefbee..c60ec6239 100644 --- a/app/Helpers/MonetaryNumberHelper.php +++ b/app/Helpers/MonetaryNumberHelper.php @@ -13,10 +13,6 @@ class MonetaryNumberHelper * We also don't use the Money library because it requires the intl PHP * extension and we want to keep the software as far away as dependencies * as possible. - * - * @param User $user - * @param int $number - * @return string */ public static function format(User $user, int $number): string { diff --git a/app/Helpers/NameHelper.php b/app/Helpers/NameHelper.php index 93d644ec1..16b4ab9d0 100644 --- a/app/Helpers/NameHelper.php +++ b/app/Helpers/NameHelper.php @@ -15,10 +15,6 @@ class NameHelper * %first_name%, %last_name%, %middle_name%, %nickname%, %maiden_name%, and * so on). We need to parse this string and replace the variables with the * appropriate values. - * - * @param User $user - * @param Contact $contact - * @return string */ public static function formatContactName(User $user, Contact $contact): string { diff --git a/app/Helpers/PaginatorHelper.php b/app/Helpers/PaginatorHelper.php index 115d74ba6..236af6ed7 100644 --- a/app/Helpers/PaginatorHelper.php +++ b/app/Helpers/PaginatorHelper.php @@ -8,9 +8,6 @@ class PaginatorHelper { /** * Provide an array of all the data needed to display a pagination. - * - * @param LengthAwarePaginator $paginator - * @return array */ public static function getData(LengthAwarePaginator $paginator): array { diff --git a/app/Helpers/PostHelper.php b/app/Helpers/PostHelper.php index 86ece5ed2..f43cba34a 100644 --- a/app/Helpers/PostHelper.php +++ b/app/Helpers/PostHelper.php @@ -9,9 +9,6 @@ class PostHelper { /** * Get the statistics of the post. - * - * @param Post $post - * @return array */ public static function statistics(Post $post): array { diff --git a/app/Helpers/SQLHelper.php b/app/Helpers/SQLHelper.php index a484ce183..8b3940c19 100644 --- a/app/Helpers/SQLHelper.php +++ b/app/Helpers/SQLHelper.php @@ -8,9 +8,6 @@ class SQLHelper { /** * Extract the year. - * - * @param string $dateColumnName - * @return string */ public static function year(string $dateColumnName): string { diff --git a/app/Helpers/SliceOfLifeHelper.php b/app/Helpers/SliceOfLifeHelper.php index 7518ed033..d67a4a09f 100644 --- a/app/Helpers/SliceOfLifeHelper.php +++ b/app/Helpers/SliceOfLifeHelper.php @@ -9,9 +9,6 @@ class SliceOfLifeHelper /** * Get the date range of the given slice of life. * ie: the oldest and newest posts in the slice. - * - * @param SliceOfLife $sliceOfLife - * @return string|null */ public static function getDateRange(SliceOfLife $sliceOfLife): ?string { diff --git a/app/Helpers/StorageHelper.php b/app/Helpers/StorageHelper.php index 408cdcb7b..2da356e2b 100644 --- a/app/Helpers/StorageHelper.php +++ b/app/Helpers/StorageHelper.php @@ -10,9 +10,6 @@ class StorageHelper /** * Indicate if the account can accept another file, depending on the account's * limits. - * - * @param Account $account - * @return bool */ public static function canUploadFile(Account $account): bool { diff --git a/app/Helpers/UserHelper.php b/app/Helpers/UserHelper.php index adaef88f0..dea0d348f 100644 --- a/app/Helpers/UserHelper.php +++ b/app/Helpers/UserHelper.php @@ -11,10 +11,6 @@ class UserHelper /** * Get the information about the contact linked to the given user, in the * given vault. - * - * @param User $user - * @param Vault $vault - * @return null|array */ public static function getInformationAboutContact(User $user, Vault $vault): ?array { diff --git a/app/Helpers/VaultHelper.php b/app/Helpers/VaultHelper.php index e30a87eb1..705d9d4b3 100644 --- a/app/Helpers/VaultHelper.php +++ b/app/Helpers/VaultHelper.php @@ -10,9 +10,6 @@ class VaultHelper { /** * Get the friendly name of a vault permission. - * - * @param int $permission - * @return string */ public static function getPermissionFriendlyName(int $permission): string { @@ -39,10 +36,6 @@ class VaultHelper /** * Get the permission for the given user in the given vault. - * - * @param User $user - * @param Vault $vault - * @return int|null */ public static function getPermission(User $user, Vault $vault): ?int { diff --git a/app/Helpers/WallpaperHelper.php b/app/Helpers/WallpaperHelper.php index 3bc6e8882..27650d54a 100644 --- a/app/Helpers/WallpaperHelper.php +++ b/app/Helpers/WallpaperHelper.php @@ -8,8 +8,6 @@ class WallpaperHelper * Get a random wallpaper for the login page. * * The images come from Unsplash.com, and are all MIT licensed. - * - * @return string */ public static function getRandomWallpaper(): string { diff --git a/app/Helpers/WikipediaHelper.php b/app/Helpers/WikipediaHelper.php index 808c96038..7a9ce9315 100644 --- a/app/Helpers/WikipediaHelper.php +++ b/app/Helpers/WikipediaHelper.php @@ -11,9 +11,6 @@ class WikipediaHelper * Return the information about the given city or country from Wikipedia. * All API calls are documented here: * https://www.mediawiki.org/w/api.php?action=help&modules=query. - * - * @param string $topic - * @return array */ public static function getInformation(string $topic): array { diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index de63d7a6c..b8a28e0d5 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -16,9 +16,6 @@ class LoginController extends Controller { /** * Display the login view. - * - * @param Request $request - * @return \Inertia\Response */ public function __invoke(Request $request): Response { diff --git a/app/Http/Controllers/Auth/SocialiteCallbackController.php b/app/Http/Controllers/Auth/SocialiteCallbackController.php index 6342b07d0..99b2aa1fa 100644 --- a/app/Http/Controllers/Auth/SocialiteCallbackController.php +++ b/app/Http/Controllers/Auth/SocialiteCallbackController.php @@ -19,8 +19,6 @@ class SocialiteCallbackController extends Controller /** * Handle socalite login. * - * @param \Illuminate\Http\Request $request - * @param string $driver * @return \Symfony\Component\HttpFoundation\Response */ public function login(Request $request, string $driver) @@ -41,10 +39,6 @@ class SocialiteCallbackController extends Controller /** * Handle socalite callback. - * - * @param \Illuminate\Http\Request $request - * @param string $driver - * @return \Illuminate\Http\RedirectResponse */ public function callback(Request $request, string $driver): RedirectResponse { @@ -62,9 +56,6 @@ class SocialiteCallbackController extends Controller /** * Get the authentication pipeline instance. - * - * @param \Illuminate\Http\Request $request - * @return \Illuminate\Pipeline\Pipeline */ protected function loginPipeline(Request $request): Pipeline { @@ -76,10 +67,6 @@ class SocialiteCallbackController extends Controller /** * Check for errors. - * - * @param \Illuminate\Http\Request $request - * @param string $driver - * @return void */ private function checkForErrors(Request $request, string $driver): void { @@ -92,8 +79,6 @@ class SocialiteCallbackController extends Controller /** * Check if the driver is activated. - * - * @param string $driver */ private function checkProvider(string $driver): void { diff --git a/app/Http/Controllers/Profile/UserTokenController.php b/app/Http/Controllers/Profile/UserTokenController.php index c92157522..7740de8c8 100644 --- a/app/Http/Controllers/Profile/UserTokenController.php +++ b/app/Http/Controllers/Profile/UserTokenController.php @@ -10,8 +10,6 @@ class UserTokenController extends BaseController /** * Destroy user token. * - * @param \Illuminate\Http\Request $request - * @param string $driver * @return \Illuminate\Http\RedirectResponse */ public function destroy(Request $request, string $driver) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 481ac9102..c3bd61bdb 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -24,7 +24,7 @@ class Kernel extends HttpKernel */ protected $middleware = [ \App\Http\Middleware\TrustProxies::class, - \Fruitcake\Cors\HandleCors::class, + \Illuminate\Http\Middleware\HandleCors::class, \App\Http\Middleware\PreventRequestsDuringMaintenance::class, \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \App\Http\Middleware\TrimStrings::class, diff --git a/app/Http/Middleware/AuthenticateWithTokenOnBasicAuth.php b/app/Http/Middleware/AuthenticateWithTokenOnBasicAuth.php index 1e70cee91..60820b2c0 100644 --- a/app/Http/Middleware/AuthenticateWithTokenOnBasicAuth.php +++ b/app/Http/Middleware/AuthenticateWithTokenOnBasicAuth.php @@ -20,7 +20,6 @@ class AuthenticateWithTokenOnBasicAuth /** * Create a new middleware instance. * - * @param \Illuminate\Contracts\Auth\Factory $auth * @return void */ public function __construct( @@ -31,8 +30,6 @@ class AuthenticateWithTokenOnBasicAuth /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) @@ -46,9 +43,6 @@ class AuthenticateWithTokenOnBasicAuth /** * Try Bearer authentication, with token in 'password' field on basic auth. - * - * @param \Illuminate\Http\Request $request - * @return bool */ private function basicAuth(Request $request): bool { @@ -63,9 +57,6 @@ class AuthenticateWithTokenOnBasicAuth /** * Authenticate user. - * - * @param \Illuminate\Http\Request $request - * @return User|null */ private function sanctumUser(Request $request): ?User { @@ -84,8 +75,6 @@ class AuthenticateWithTokenOnBasicAuth /** * Get sanctum guard. - * - * @return \Illuminate\Auth\RequestGuard */ protected function sanctum(): RequestGuard { @@ -98,7 +87,6 @@ class AuthenticateWithTokenOnBasicAuth /** * Get the response for basic authentication. * - * @return void * * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException */ diff --git a/app/Http/Middleware/CheckAdministratorPrivilege.php b/app/Http/Middleware/CheckAdministratorPrivilege.php index bbb0306c7..882d037de 100644 --- a/app/Http/Middleware/CheckAdministratorPrivilege.php +++ b/app/Http/Middleware/CheckAdministratorPrivilege.php @@ -11,8 +11,6 @@ class CheckAdministratorPrivilege /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/CheckContactAccess.php b/app/Http/Middleware/CheckContactAccess.php index 93706bc19..7e8dac407 100644 --- a/app/Http/Middleware/CheckContactAccess.php +++ b/app/Http/Middleware/CheckContactAccess.php @@ -11,8 +11,6 @@ class CheckContactAccess /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/CheckGroupAccess.php b/app/Http/Middleware/CheckGroupAccess.php index b8514e141..0ec211d46 100644 --- a/app/Http/Middleware/CheckGroupAccess.php +++ b/app/Http/Middleware/CheckGroupAccess.php @@ -11,8 +11,6 @@ class CheckGroupAccess /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/CheckJournalAccess.php b/app/Http/Middleware/CheckJournalAccess.php index 40079cd7d..ccc472a14 100644 --- a/app/Http/Middleware/CheckJournalAccess.php +++ b/app/Http/Middleware/CheckJournalAccess.php @@ -11,8 +11,6 @@ class CheckJournalAccess /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/CheckPostAccess.php b/app/Http/Middleware/CheckPostAccess.php index af5dba225..3b317b300 100644 --- a/app/Http/Middleware/CheckPostAccess.php +++ b/app/Http/Middleware/CheckPostAccess.php @@ -11,8 +11,6 @@ class CheckPostAccess /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/CheckSliceOfLifeAccess.php b/app/Http/Middleware/CheckSliceOfLifeAccess.php index 399a90ac3..d4e913ae0 100644 --- a/app/Http/Middleware/CheckSliceOfLifeAccess.php +++ b/app/Http/Middleware/CheckSliceOfLifeAccess.php @@ -11,8 +11,6 @@ class CheckSliceOfLifeAccess /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/CheckVaultAccess.php b/app/Http/Middleware/CheckVaultAccess.php index afe7ac664..29d69a040 100644 --- a/app/Http/Middleware/CheckVaultAccess.php +++ b/app/Http/Middleware/CheckVaultAccess.php @@ -12,8 +12,6 @@ class CheckVaultAccess /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/CheckVaultPermissionAtLeastEditor.php b/app/Http/Middleware/CheckVaultPermissionAtLeastEditor.php index e0839717d..7788fb8f0 100644 --- a/app/Http/Middleware/CheckVaultPermissionAtLeastEditor.php +++ b/app/Http/Middleware/CheckVaultPermissionAtLeastEditor.php @@ -12,8 +12,6 @@ class CheckVaultPermissionAtLeastEditor /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/CheckVaultPermissionAtLeastManager.php b/app/Http/Middleware/CheckVaultPermissionAtLeastManager.php index 48064d0f4..f5a1a21fc 100644 --- a/app/Http/Middleware/CheckVaultPermissionAtLeastManager.php +++ b/app/Http/Middleware/CheckVaultPermissionAtLeastManager.php @@ -12,8 +12,6 @@ class CheckVaultPermissionAtLeastManager /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/EnsureDavRequestsAreStateful.php b/app/Http/Middleware/EnsureDavRequestsAreStateful.php index 336ec87fe..18c2f8b9d 100644 --- a/app/Http/Middleware/EnsureDavRequestsAreStateful.php +++ b/app/Http/Middleware/EnsureDavRequestsAreStateful.php @@ -14,8 +14,6 @@ class EnsureDavRequestsAreStateful /** * Create a new middleware instance. * - * @param \Illuminate\Contracts\Foundation\Application $app - * @param \Illuminate\Contracts\Auth\Factory $auth * @return void */ public function __construct( @@ -27,8 +25,6 @@ class EnsureDavRequestsAreStateful /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) diff --git a/app/Http/Middleware/HandleInertiaRequests.php b/app/Http/Middleware/HandleInertiaRequests.php index 371101ed1..bc728480f 100644 --- a/app/Http/Middleware/HandleInertiaRequests.php +++ b/app/Http/Middleware/HandleInertiaRequests.php @@ -18,7 +18,6 @@ class HandleInertiaRequests extends Middleware /** * Determine the current asset version. * - * @param \Illuminate\Http\Request $request * @return string|null */ public function version(Request $request) @@ -29,7 +28,6 @@ class HandleInertiaRequests extends Middleware /** * Define the props that are shared by default. * - * @param \Illuminate\Http\Request $request * @return array */ public function share(Request $request) diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 362b48b0d..fe886b08b 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -12,8 +12,6 @@ class RedirectIfAuthenticated /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @param string|null ...$guards * @return mixed */ diff --git a/app/Http/Middleware/SanctumSetUser.php b/app/Http/Middleware/SanctumSetUser.php index d6bf4d280..f48e510a3 100644 --- a/app/Http/Middleware/SanctumSetUser.php +++ b/app/Http/Middleware/SanctumSetUser.php @@ -13,7 +13,6 @@ class SanctumSetUser /** * Create a new middleware instance. * - * @param \Illuminate\Contracts\Auth\Factory $auth * @return void */ public function __construct( @@ -24,8 +23,6 @@ class SanctumSetUser /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) @@ -37,8 +34,6 @@ class SanctumSetUser /** * Get sanctum guard. - * - * @return \Illuminate\Auth\RequestGuard */ protected function sanctum(): RequestGuard { diff --git a/app/Http/Resources/UserResource.php b/app/Http/Resources/UserResource.php index 97335b02b..fe74c8b86 100644 --- a/app/Http/Resources/UserResource.php +++ b/app/Http/Resources/UserResource.php @@ -14,7 +14,6 @@ class UserResource extends JsonResource * Transform the resource into an array. * * @param \Illuminate\Http\Request $request - * @return array */ public function toArray($request): array { diff --git a/app/Http/Resources/VaultResource.php b/app/Http/Resources/VaultResource.php index f49ad8bba..2aae48325 100644 --- a/app/Http/Resources/VaultResource.php +++ b/app/Http/Resources/VaultResource.php @@ -14,7 +14,6 @@ class VaultResource extends JsonResource * Transform the resource into an array. * * @param \Illuminate\Http\Request $request - * @return array */ public function toArray($request): array { diff --git a/app/Listeners/LoginListener.php b/app/Listeners/LoginListener.php index c1732a2e6..84e802c0f 100644 --- a/app/Listeners/LoginListener.php +++ b/app/Listeners/LoginListener.php @@ -11,7 +11,6 @@ class LoginListener /** * Handle Login webhooks. * - * @param \Illuminate\Auth\Events\Login $event * @return void */ public function handle(Login $event) diff --git a/app/Models/Account.php b/app/Models/Account.php index 739a3713d..dcaae2f4e 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -32,8 +32,6 @@ class Account extends Model /** * Get the templates associated with the account. - * - * @return HasMany */ public function templates(): HasMany { @@ -42,8 +40,6 @@ class Account extends Model /** * Get the modules associated with the account. - * - * @return HasMany */ public function modules(): HasMany { @@ -52,8 +48,6 @@ class Account extends Model /** * Get the information associated with the account. - * - * @return HasMany */ public function groupTypes(): HasMany { @@ -62,8 +56,6 @@ class Account extends Model /** * Get the relationship group types associated with the account. - * - * @return HasMany */ public function relationshipGroupTypes(): HasMany { @@ -72,8 +64,6 @@ class Account extends Model /** * Get the genders associated with the account. - * - * @return HasMany */ public function genders(): HasMany { @@ -82,8 +72,6 @@ class Account extends Model /** * Get the pronouns associated with the account. - * - * @return HasMany */ public function pronouns(): HasMany { @@ -92,8 +80,6 @@ class Account extends Model /** * Get the contact information types associated with the account. - * - * @return HasMany */ public function contactInformationTypes(): HasMany { @@ -102,8 +88,6 @@ class Account extends Model /** * Get the address types associated with the account. - * - * @return HasMany */ public function addressTypes(): HasMany { @@ -112,8 +96,6 @@ class Account extends Model /** * Get the pet categories associated with the account. - * - * @return HasMany */ public function petCategories(): HasMany { @@ -122,8 +104,6 @@ class Account extends Model /** * Get the emotions associated with the account. - * - * @return HasMany */ public function emotions(): HasMany { @@ -132,8 +112,6 @@ class Account extends Model /** * Get the currencies in the account. - * - * @return BelongsToMany */ public function currencies(): BelongsToMany { @@ -144,8 +122,6 @@ class Account extends Model /** * Get the call reason types associated with the account. - * - * @return HasMany */ public function callReasonTypes(): HasMany { @@ -154,8 +130,6 @@ class Account extends Model /** * Get the gift occasions associated with the account. - * - * @return HasMany */ public function giftOccasions(): HasMany { @@ -164,8 +138,6 @@ class Account extends Model /** * Get the gift stages associated with the account. - * - * @return HasMany */ public function giftStates(): HasMany { @@ -174,8 +146,6 @@ class Account extends Model /** * Get the vaults associated with the account. - * - * @return HasMany */ public function vaults(): HasMany { @@ -184,8 +154,6 @@ class Account extends Model /** * Get the post templates associated with the account. - * - * @return HasMany */ public function postTemplates(): HasMany { @@ -194,8 +162,6 @@ class Account extends Model /** * Get the religions associated with the account. - * - * @return HasMany */ public function religions(): HasMany { diff --git a/app/Models/Address.php b/app/Models/Address.php index af8f7fe11..de0b1706f 100644 --- a/app/Models/Address.php +++ b/app/Models/Address.php @@ -34,8 +34,6 @@ class Address extends Model /** * Get the contacts associated with the address. - * - * @return BelongsToMany */ public function contacts(): BelongsToMany { @@ -44,8 +42,6 @@ class Address extends Model /** * Get the address type object associated with the address. - * - * @return BelongsTo */ public function addressType(): BelongsTo { @@ -54,8 +50,6 @@ class Address extends Model /** * Get the address's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/AddressType.php b/app/Models/AddressType.php index 5d839919f..c546dcc1f 100644 --- a/app/Models/AddressType.php +++ b/app/Models/AddressType.php @@ -24,8 +24,6 @@ class AddressType extends Model /** * Get the account associated with the contact information type. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/Call.php b/app/Models/Call.php index 97a368ca2..af4356c83 100644 --- a/app/Models/Call.php +++ b/app/Models/Call.php @@ -49,21 +49,11 @@ class Call extends Model */ protected $casts = [ 'answered' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'called_at', + 'called_at' => 'datetime', ]; /** * Get the contact associated with the call. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -72,8 +62,6 @@ class Call extends Model /** * Get the author associated with the call. - * - * @return BelongsTo */ public function author(): BelongsTo { @@ -82,8 +70,6 @@ class Call extends Model /** * Get the call reason associated with the call. - * - * @return BelongsTo */ public function callReason(): BelongsTo { @@ -92,8 +78,6 @@ class Call extends Model /** * Get the emotion associated with the call. - * - * @return BelongsTo */ public function emotion(): BelongsTo { diff --git a/app/Models/CallReason.php b/app/Models/CallReason.php index b525d878f..15cc4f64e 100644 --- a/app/Models/CallReason.php +++ b/app/Models/CallReason.php @@ -24,8 +24,6 @@ class CallReason extends Model /** * Get the call reason type associated with call reason. - * - * @return BelongsTo */ public function callReasonType(): BelongsTo { diff --git a/app/Models/CallReasonType.php b/app/Models/CallReasonType.php index 3df014e28..013ce6f20 100644 --- a/app/Models/CallReasonType.php +++ b/app/Models/CallReasonType.php @@ -25,8 +25,6 @@ class CallReasonType extends Model /** * Get the account associated with the call reason type. - * - * @return BelongsTo */ public function account(): BelongsTo { @@ -35,8 +33,6 @@ class CallReasonType extends Model /** * Get the call reasons associated with the call reason type. - * - * @return HasMany */ public function callReasons(): HasMany { diff --git a/app/Models/Company.php b/app/Models/Company.php index 858ff0905..f518941ca 100644 --- a/app/Models/Company.php +++ b/app/Models/Company.php @@ -35,8 +35,6 @@ class Company extends Model /** * Get the vault associated with the company. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -45,8 +43,6 @@ class Company extends Model /** * Get the contacts associated with the company. - * - * @return HasMany */ public function contacts(): HasMany { diff --git a/app/Models/Contact.php b/app/Models/Contact.php index 0e7b2cb1b..7c7f7824c 100644 --- a/app/Models/Contact.php +++ b/app/Models/Contact.php @@ -76,8 +76,6 @@ class Contact extends Model /** * Get the columns that should receive a unique identifier. - * - * @return array */ public function uniqueIds(): array { @@ -87,7 +85,6 @@ class Contact extends Model /** * Get the indexable data array for the model. * - * @return array * * @codeCoverageIgnore */ @@ -118,9 +115,6 @@ class Contact extends Model /** * Scope a query to only include contacts who are active. - * - * @param Builder $query - * @return Builder */ public function scopeActive(Builder $query): Builder { @@ -129,8 +123,6 @@ class Contact extends Model /** * Used to delete related objects from Meilisearch/Algolia instance. - * - * @return void */ protected static function boot(): void { @@ -153,8 +145,6 @@ class Contact extends Model /** * Get the vault associated with the contact. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -163,8 +153,6 @@ class Contact extends Model /** * Get the gender associated with the contact. - * - * @return BelongsTo */ public function gender(): BelongsTo { @@ -173,8 +161,6 @@ class Contact extends Model /** * Get the pronoun associated with the contact. - * - * @return BelongsTo */ public function pronoun(): BelongsTo { @@ -183,8 +169,6 @@ class Contact extends Model /** * Get the template associated with the contact. - * - * @return BelongsTo */ public function template(): BelongsTo { @@ -193,8 +177,6 @@ class Contact extends Model /** * Get the relationships associated with the contact. - * - * @return BelongsToMany */ public function relationships(): BelongsToMany { @@ -203,8 +185,6 @@ class Contact extends Model /** * Get the labels associated with the contact. - * - * @return BelongsToMany */ public function labels(): BelongsToMany { @@ -213,8 +193,6 @@ class Contact extends Model /** * Get the contact information records associated with the contact. - * - * @return HasMany */ public function contactInformations(): HasMany { @@ -223,8 +201,6 @@ class Contact extends Model /** * Get the note records associated with the contact. - * - * @return HasMany */ public function notes(): HasMany { @@ -233,8 +209,6 @@ class Contact extends Model /** * Get the date records associated with the contact. - * - * @return HasMany */ public function importantDates(): HasMany { @@ -243,8 +217,6 @@ class Contact extends Model /** * Get the contact reminders records associated with the contact. - * - * @return HasMany */ public function reminders(): HasMany { @@ -277,8 +249,6 @@ class Contact extends Model /** * Get the company associated with the contact. - * - * @return BelongsTo */ public function company(): BelongsTo { @@ -287,8 +257,6 @@ class Contact extends Model /** * Get the tasks associated with the contact. - * - * @return HasMany */ public function tasks(): HasMany { @@ -297,8 +265,6 @@ class Contact extends Model /** * Get the calls associated with the contact. - * - * @return HasMany */ public function calls(): HasMany { @@ -307,8 +273,6 @@ class Contact extends Model /** * Get the pets associated with the contact. - * - * @return HasMany */ public function pets(): HasMany { @@ -317,8 +281,6 @@ class Contact extends Model /** * Get the goals associated with the contact. - * - * @return HasMany */ public function goals(): HasMany { @@ -327,8 +289,6 @@ class Contact extends Model /** * Get the files associated with the contact. - * - * @return MorphMany */ public function files(): MorphMany { @@ -338,8 +298,6 @@ class Contact extends Model /** * Get the file associated with the contact. * If it exists, it's the avatar. - * - * @return BelongsTo */ public function file(): BelongsTo { @@ -348,8 +306,6 @@ class Contact extends Model /** * Get the groups associated with the contact. - * - * @return BelongsToMany */ public function groups(): BelongsToMany { @@ -358,8 +314,6 @@ class Contact extends Model /** * Get the posts associated with the contact. - * - * @return BelongsToMany */ public function posts(): BelongsToMany { @@ -368,8 +322,6 @@ class Contact extends Model /** * Get the religion associated with the contact. - * - * @return BelongsTo */ public function religion(): BelongsTo { @@ -378,8 +330,6 @@ class Contact extends Model /** * Get the life events associated with the contact. - * - * @return BelongsToMany */ public function lifeEvents(): BelongsToMany { @@ -388,8 +338,6 @@ class Contact extends Model /** * Get the timeline events associated with the contact. - * - * @return BelongsToMany */ public function timelineEvents(): BelongsToMany { @@ -398,8 +346,6 @@ class Contact extends Model /** * Get the mood tracking events associated with the contact. - * - * @return HasMany */ public function moodTrackingEvents(): HasMany { @@ -408,8 +354,6 @@ class Contact extends Model /** * Get the addresses associated with the contact. - * - * @return BelongsToMany */ public function addresses(): BelongsToMany { diff --git a/app/Models/ContactFeedItem.php b/app/Models/ContactFeedItem.php index dbd648131..a01f384d0 100644 --- a/app/Models/ContactFeedItem.php +++ b/app/Models/ContactFeedItem.php @@ -108,8 +108,6 @@ class ContactFeedItem extends Model /** * Get the user associated with the contact feed item. - * - * @return BelongsTo */ public function author(): BelongsTo { @@ -118,8 +116,6 @@ class ContactFeedItem extends Model /** * Get the contact associated with the contact feed item. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -128,8 +124,6 @@ class ContactFeedItem extends Model /** * Get the contact information type associated with the contact feed item. - * - * @return MorphTo */ public function feedable(): MorphTo { diff --git a/app/Models/ContactImportantDate.php b/app/Models/ContactImportantDate.php index 534173e83..c1c6d25b7 100644 --- a/app/Models/ContactImportantDate.php +++ b/app/Models/ContactImportantDate.php @@ -45,8 +45,6 @@ class ContactImportantDate extends Model /** * Get the contact associated with the contact date. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -55,8 +53,6 @@ class ContactImportantDate extends Model /** * Get the important date type associated with the contact date. - * - * @return BelongsTo */ public function contactImportantDateType(): BelongsTo { @@ -65,8 +61,6 @@ class ContactImportantDate extends Model /** * Get the important date's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/ContactImportantDateType.php b/app/Models/ContactImportantDateType.php index 1a320f427..e9220e27f 100644 --- a/app/Models/ContactImportantDateType.php +++ b/app/Models/ContactImportantDateType.php @@ -35,8 +35,6 @@ class ContactImportantDateType extends Model /** * Get the vault associated with the contact date type. - * - * @return BelongsTo */ public function vault(): BelongsTo { diff --git a/app/Models/ContactInformation.php b/app/Models/ContactInformation.php index b34765cb5..56a7cef94 100644 --- a/app/Models/ContactInformation.php +++ b/app/Models/ContactInformation.php @@ -27,8 +27,6 @@ class ContactInformation extends Model /** * Get the contact associated with the contact information. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -37,8 +35,6 @@ class ContactInformation extends Model /** * Get the contact information type associated with the contact information. - * - * @return BelongsTo */ public function contactInformationType(): BelongsTo { @@ -69,8 +65,6 @@ class ContactInformation extends Model /** * Get the contact information's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/ContactInformationType.php b/app/Models/ContactInformationType.php index f738602d9..6d49f4534 100644 --- a/app/Models/ContactInformationType.php +++ b/app/Models/ContactInformationType.php @@ -33,8 +33,6 @@ class ContactInformationType extends Model /** * Get the account associated with the contact information type. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/ContactReminder.php b/app/Models/ContactReminder.php index f7cd300d6..746602d93 100644 --- a/app/Models/ContactReminder.php +++ b/app/Models/ContactReminder.php @@ -42,18 +42,16 @@ class ContactReminder extends Model ]; /** - * The attributes that should be mutated to dates. + * The attributes that should be cast to native types. * - * @var array + * @var array */ - protected $dates = [ - 'last_triggered_at', + protected $casts = [ + 'last_triggered_at' => 'datetime', ]; /** * Get the contact associated with the contact reminder. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -62,8 +60,6 @@ class ContactReminder extends Model /** * Get the user notification channel records associated with the contact reminder. - * - * @return BelongsToMany */ public function userNotificationChannels(): BelongsToMany { diff --git a/app/Models/ContactTask.php b/app/Models/ContactTask.php index a60338852..0da5385e2 100644 --- a/app/Models/ContactTask.php +++ b/app/Models/ContactTask.php @@ -35,22 +35,12 @@ class ContactTask extends Model */ protected $casts = [ 'completed' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'completed_at', - 'due_at', + 'completed_at' => 'datetime', + 'due_at' => 'datetime', ]; /** * Get the contact associated with the contact task. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -59,8 +49,6 @@ class ContactTask extends Model /** * Get the author associated with the contact task. - * - * @return BelongsTo */ public function author(): BelongsTo { diff --git a/app/Models/Currency.php b/app/Models/Currency.php index 86b1af083..c46ea8921 100644 --- a/app/Models/Currency.php +++ b/app/Models/Currency.php @@ -23,8 +23,6 @@ class Currency extends Model /** * Get the account records that have the currency. - * - * @return BelongsToMany */ public function accounts(): BelongsToMany { diff --git a/app/Models/Emotion.php b/app/Models/Emotion.php index 861654dd5..aa02c8d90 100644 --- a/app/Models/Emotion.php +++ b/app/Models/Emotion.php @@ -34,8 +34,6 @@ class Emotion extends Model /** * Get the account associated with the emotion. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/File.php b/app/Models/File.php index 47bc8d365..332e43cc4 100644 --- a/app/Models/File.php +++ b/app/Models/File.php @@ -52,8 +52,6 @@ class File extends Model /** * Get the vault associated with the file. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -62,8 +60,6 @@ class File extends Model /** * Get the parent model that matches this file. - * - * @return MorphTo */ public function fileable(): MorphTo { diff --git a/app/Models/Gender.php b/app/Models/Gender.php index 3635d31a8..f91ff3fb7 100644 --- a/app/Models/Gender.php +++ b/app/Models/Gender.php @@ -60,8 +60,6 @@ class Gender extends Model /** * Get the account associated with the gender. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/GiftOccasion.php b/app/Models/GiftOccasion.php index 2cf298f47..aef34417e 100644 --- a/app/Models/GiftOccasion.php +++ b/app/Models/GiftOccasion.php @@ -25,8 +25,6 @@ class GiftOccasion extends Model /** * Get the account associated with the gift occasion. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/GiftState.php b/app/Models/GiftState.php index 31aa56bb9..91992e065 100644 --- a/app/Models/GiftState.php +++ b/app/Models/GiftState.php @@ -25,8 +25,6 @@ class GiftState extends Model /** * Get the account associated with the gift occasion. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/Goal.php b/app/Models/Goal.php index 3932d38d7..18c48ddfd 100644 --- a/app/Models/Goal.php +++ b/app/Models/Goal.php @@ -34,8 +34,6 @@ class Goal extends Model /** * Get the contact associated with the goal. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -44,8 +42,6 @@ class Goal extends Model /** * Get the streaks associated with the goal. - * - * @return HasMany */ public function streaks(): HasMany { @@ -54,8 +50,6 @@ class Goal extends Model /** * Get the goal's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/Group.php b/app/Models/Group.php index 3e26c2ca8..e8759a54a 100644 --- a/app/Models/Group.php +++ b/app/Models/Group.php @@ -33,7 +33,6 @@ class Group extends Model /** * Get the indexable data array for the model. * - * @return array * * @codeCoverageIgnore */ @@ -60,8 +59,6 @@ class Group extends Model /** * Get the vault associated with the group. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -70,8 +67,6 @@ class Group extends Model /** * Get the vault associated with the group. - * - * @return BelongsTo */ public function groupType(): BelongsTo { @@ -80,8 +75,6 @@ class Group extends Model /** * Get the contacts associated with the group. - * - * @return BelongsToMany */ public function contacts(): BelongsToMany { @@ -90,8 +83,6 @@ class Group extends Model /** * Get the group's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/GroupType.php b/app/Models/GroupType.php index 8916fc6e0..d004c3cc5 100644 --- a/app/Models/GroupType.php +++ b/app/Models/GroupType.php @@ -26,8 +26,6 @@ class GroupType extends Model /** * Get the account record associated with the group type. - * - * @return BelongsTo */ public function account(): BelongsTo { @@ -36,8 +34,6 @@ class GroupType extends Model /** * Get the group type roles associated with the group type. - * - * @return HasMany */ public function groupTypeRoles(): HasMany { diff --git a/app/Models/GroupTypeRole.php b/app/Models/GroupTypeRole.php index 135983b56..0b0cecceb 100644 --- a/app/Models/GroupTypeRole.php +++ b/app/Models/GroupTypeRole.php @@ -25,8 +25,6 @@ class GroupTypeRole extends Model /** * Get the group type record associated with the group type role. - * - * @return BelongsTo */ public function groupType(): BelongsTo { diff --git a/app/Models/Journal.php b/app/Models/Journal.php index 56a23f1e9..abf8e4d8d 100644 --- a/app/Models/Journal.php +++ b/app/Models/Journal.php @@ -26,8 +26,6 @@ class Journal extends Model /** * Get the vault associated with the journal. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -36,8 +34,6 @@ class Journal extends Model /** * Get the posts associated with the journal. - * - * @return HasMany */ public function posts(): HasMany { @@ -46,8 +42,6 @@ class Journal extends Model /** * Get the slices of life associated with the journal. - * - * @return HasMany */ public function slicesOfLife(): HasMany { diff --git a/app/Models/Label.php b/app/Models/Label.php index 49f209840..2ce96f737 100644 --- a/app/Models/Label.php +++ b/app/Models/Label.php @@ -30,8 +30,6 @@ class Label extends Model /** * Get the vault associated with the label. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -40,8 +38,6 @@ class Label extends Model /** * Get the contacts associated with the label. - * - * @return BelongsToMany */ public function contacts(): BelongsToMany { @@ -50,8 +46,6 @@ class Label extends Model /** * Get the label's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/LifeEvent.php b/app/Models/LifeEvent.php index e0503fb42..f2d4f6f91 100644 --- a/app/Models/LifeEvent.php +++ b/app/Models/LifeEvent.php @@ -36,15 +36,6 @@ class LifeEvent extends Model 'place', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'happened_at', - ]; - /** * The attributes that should be cast to native types. * @@ -52,12 +43,11 @@ class LifeEvent extends Model */ protected $casts = [ 'collapsed' => 'boolean', + 'happened_at' => 'datetime', ]; /** * Get the timeline event associated with the life event. - * - * @return BelongsTo */ public function timelineEvent(): BelongsTo { @@ -66,8 +56,6 @@ class LifeEvent extends Model /** * Get the life event type associated with the life event. - * - * @return BelongsTo */ public function lifeEventType(): BelongsTo { @@ -76,8 +64,6 @@ class LifeEvent extends Model /** * Get the currency associated with the life event. - * - * @return BelongsTo */ public function currency(): BelongsTo { @@ -86,8 +72,6 @@ class LifeEvent extends Model /** * Get the emotion associated with the life event. - * - * @return BelongsTo */ public function emotion(): BelongsTo { @@ -96,8 +80,6 @@ class LifeEvent extends Model /** * Get the contact who paid for the life event. - * - * @return BelongsTo */ public function paidBy(): BelongsTo { @@ -106,8 +88,6 @@ class LifeEvent extends Model /** * Get the contact records the life event is with. - * - * @return BelongsToMany */ public function participants(): BelongsToMany { diff --git a/app/Models/LifeEventCategory.php b/app/Models/LifeEventCategory.php index 08eeea542..a5a9d26d6 100644 --- a/app/Models/LifeEventCategory.php +++ b/app/Models/LifeEventCategory.php @@ -29,8 +29,6 @@ class LifeEventCategory extends Model /** * Get the vault associated with the life event category. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -39,8 +37,6 @@ class LifeEventCategory extends Model /** * Get the life event types associated with the life event category. - * - * @return HasMany */ public function lifeEventTypes(): HasMany { diff --git a/app/Models/LifeEventType.php b/app/Models/LifeEventType.php index b5d7a902d..7a8f91823 100644 --- a/app/Models/LifeEventType.php +++ b/app/Models/LifeEventType.php @@ -29,8 +29,6 @@ class LifeEventType extends Model /** * Get the life event category associated with the life event type. - * - * @return BelongsTo */ public function lifeEventCategory(): BelongsTo { @@ -39,8 +37,6 @@ class LifeEventType extends Model /** * Get the life events associated with the life event type. - * - * @return HasMany */ public function lifeEvents(): HasMany { diff --git a/app/Models/Loan.php b/app/Models/Loan.php index 1d7994f9a..bcbbb1bc4 100644 --- a/app/Models/Loan.php +++ b/app/Models/Loan.php @@ -39,16 +39,6 @@ class Loan extends Model 'settled', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'loaned_at', - 'settled_at', - ]; - /** * The attributes that should be cast to native types. * @@ -56,6 +46,8 @@ class Loan extends Model */ protected $casts = [ 'settled' => 'boolean', + 'loaned_at' => 'datetime', + 'settled_at' => 'datetime', ]; /** @@ -70,8 +62,6 @@ class Loan extends Model /** * Get the vault associated with the loan. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -80,8 +70,6 @@ class Loan extends Model /** * Get the currency associated with the loan. - * - * @return BelongsTo */ public function currency(): BelongsTo { @@ -90,8 +78,6 @@ class Loan extends Model /** * Get the contact that did the loan. - * - * @return BelongsToMany */ public function loaners(): BelongsToMany { @@ -100,8 +86,6 @@ class Loan extends Model /** * Get the contact records the loan was made to. - * - * @return BelongsToMany */ public function loanees(): BelongsToMany { diff --git a/app/Models/Module.php b/app/Models/Module.php index dd0f1e016..3be6d1237 100644 --- a/app/Models/Module.php +++ b/app/Models/Module.php @@ -89,8 +89,6 @@ class Module extends Model /** * Get the account associated with the template. - * - * @return BelongsTo */ public function account(): BelongsTo { @@ -99,8 +97,6 @@ class Module extends Model /** * Get the module rows associated with the module. - * - * @return HasMany */ public function rows(): HasMany { @@ -109,8 +105,6 @@ class Module extends Model /** * Get the template pages associated with the module. - * - * @return BelongsToMany */ public function templatePages(): BelongsToMany { diff --git a/app/Models/ModuleRow.php b/app/Models/ModuleRow.php index bdce24af0..7ad73da9e 100644 --- a/app/Models/ModuleRow.php +++ b/app/Models/ModuleRow.php @@ -25,8 +25,6 @@ class ModuleRow extends Model /** * Get the module associated with the module. - * - * @return BelongsTo */ public function module(): BelongsTo { @@ -35,8 +33,6 @@ class ModuleRow extends Model /** * Get the module row fields associated with the module. - * - * @return HasMany */ public function fields(): HasMany { diff --git a/app/Models/ModuleRowField.php b/app/Models/ModuleRowField.php index 1c71dac97..3b62f5c45 100644 --- a/app/Models/ModuleRowField.php +++ b/app/Models/ModuleRowField.php @@ -41,8 +41,6 @@ class ModuleRowField extends Model /** * Get the module row associated with the module. - * - * @return BelongsTo */ public function row(): BelongsTo { diff --git a/app/Models/MoodTrackingEvent.php b/app/Models/MoodTrackingEvent.php index f02415c60..d1b757ce2 100644 --- a/app/Models/MoodTrackingEvent.php +++ b/app/Models/MoodTrackingEvent.php @@ -27,18 +27,16 @@ class MoodTrackingEvent extends Model ]; /** - * The attributes that should be mutated to dates. + * The attributes that should be cast to native types. * - * @var array + * @var array */ - protected $dates = [ - 'rated_at', + protected $casts = [ + 'rated_at' => 'datetime', ]; /** * Get the contact associated with the mood tracking event. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -47,8 +45,6 @@ class MoodTrackingEvent extends Model /** * Get the mood tracking parameter associated with the mood tracking event. - * - * @return BelongsTo */ public function moodTrackingParameter(): BelongsTo { @@ -57,8 +53,6 @@ class MoodTrackingEvent extends Model /** * Get the mood tracking event's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/MoodTrackingParameter.php b/app/Models/MoodTrackingParameter.php index 7d8363f9f..5a53f7571 100644 --- a/app/Models/MoodTrackingParameter.php +++ b/app/Models/MoodTrackingParameter.php @@ -29,8 +29,6 @@ class MoodTrackingParameter extends Model /** * Get the vault associated with the mood tracking parameter. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -39,8 +37,6 @@ class MoodTrackingParameter extends Model /** * Get the mood tracking events associated with the mood tracking parameter. - * - * @return HasMany */ public function moodTrackingEvents(): HasMany { diff --git a/app/Models/Note.php b/app/Models/Note.php index 50a856752..9907750f8 100644 --- a/app/Models/Note.php +++ b/app/Models/Note.php @@ -33,7 +33,6 @@ class Note extends Model /** * Get the indexable data array for the model. * - * @return array * * @codeCoverageIgnore */ @@ -62,8 +61,6 @@ class Note extends Model /** * Get the contact associated with the note. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -72,8 +69,6 @@ class Note extends Model /** * Get the author associated with the note. - * - * @return BelongsTo */ public function author(): BelongsTo { @@ -82,8 +77,6 @@ class Note extends Model /** * Get the emotion associated with the note. - * - * @return BelongsTo */ public function emotion(): BelongsTo { @@ -92,8 +85,6 @@ class Note extends Model /** * Get the note's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/Pet.php b/app/Models/Pet.php index c9df7952a..007b1a16e 100644 --- a/app/Models/Pet.php +++ b/app/Models/Pet.php @@ -26,8 +26,6 @@ class Pet extends Model /** * Get the pet category associated with the pet. - * - * @return BelongsTo */ public function petCategory(): BelongsTo { @@ -36,8 +34,6 @@ class Pet extends Model /** * Get the contact associated with the pet. - * - * @return BelongsTo */ public function contact(): BelongsTo { @@ -46,8 +42,6 @@ class Pet extends Model /** * Get the pet's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/PetCategory.php b/app/Models/PetCategory.php index 89d043965..e6cab95c5 100644 --- a/app/Models/PetCategory.php +++ b/app/Models/PetCategory.php @@ -24,8 +24,6 @@ class PetCategory extends Model /** * Get the account associated with the pet category. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/Post.php b/app/Models/Post.php index 901714c34..47c9bc99c 100644 --- a/app/Models/Post.php +++ b/app/Models/Post.php @@ -33,16 +33,6 @@ class Post extends Model 'updated_at', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'written_at', - 'updated_at', - ]; - /** * The attributes that should be cast to native types. * @@ -50,12 +40,12 @@ class Post extends Model */ protected $casts = [ 'published' => 'boolean', + 'written_at' => 'datetime', + 'updated_at' => 'datetime', ]; /** * Get the journal associated with the post. - * - * @return BelongsTo */ public function journal(): BelongsTo { @@ -64,8 +54,6 @@ class Post extends Model /** * Get the slice of life associated with the post. - * - * @return BelongsTo */ public function sliceOfLife(): BelongsTo { @@ -74,8 +62,6 @@ class Post extends Model /** * Get the post sections associated with the post. - * - * @return HasMany */ public function postSections(): HasMany { @@ -84,8 +70,6 @@ class Post extends Model /** * Get the contacts associated with the post. - * - * @return BelongsToMany */ public function contacts(): BelongsToMany { @@ -94,8 +78,6 @@ class Post extends Model /** * Get the post's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { @@ -104,8 +86,6 @@ class Post extends Model /** * Get the tags associated with the post. - * - * @return BelongsToMany */ public function tags(): BelongsToMany { @@ -114,8 +94,6 @@ class Post extends Model /** * Get the files associated with the post. - * - * @return MorphMany */ public function files(): MorphMany { diff --git a/app/Models/PostSection.php b/app/Models/PostSection.php index f69672671..28b537ed1 100644 --- a/app/Models/PostSection.php +++ b/app/Models/PostSection.php @@ -26,8 +26,6 @@ class PostSection extends Model /** * Get the post associated with the post section. - * - * @return BelongsTo */ public function post(): BelongsTo { diff --git a/app/Models/PostTemplate.php b/app/Models/PostTemplate.php index 06f77b657..18e10556e 100644 --- a/app/Models/PostTemplate.php +++ b/app/Models/PostTemplate.php @@ -36,8 +36,6 @@ class PostTemplate extends Model /** * Get the account associated with the post type. - * - * @return BelongsTo */ public function account(): BelongsTo { @@ -46,8 +44,6 @@ class PostTemplate extends Model /** * Get the post type section records associated with the post type. - * - * @return HasMany */ public function postTemplateSections(): HasMany { diff --git a/app/Models/PostTemplateSection.php b/app/Models/PostTemplateSection.php index dec208efa..99823b331 100644 --- a/app/Models/PostTemplateSection.php +++ b/app/Models/PostTemplateSection.php @@ -35,8 +35,6 @@ class PostTemplateSection extends Model /** * Get the post type associated with the post type section. - * - * @return BelongsTo */ public function postTemplate(): BelongsTo { diff --git a/app/Models/Pronoun.php b/app/Models/Pronoun.php index 985f42226..f533b5931 100644 --- a/app/Models/Pronoun.php +++ b/app/Models/Pronoun.php @@ -22,8 +22,6 @@ class Pronoun extends Model /** * Get the account associated with the gender. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/RelationshipGroupType.php b/app/Models/RelationshipGroupType.php index 0d712a7ab..69bcb8bb1 100644 --- a/app/Models/RelationshipGroupType.php +++ b/app/Models/RelationshipGroupType.php @@ -43,8 +43,6 @@ class RelationshipGroupType extends Model /** * Get the account associated with the relationship type. - * - * @return BelongsTo */ public function account(): BelongsTo { @@ -53,8 +51,6 @@ class RelationshipGroupType extends Model /** * Get the account associated with the relationship type. - * - * @return HasMany */ public function types(): HasMany { diff --git a/app/Models/RelationshipType.php b/app/Models/RelationshipType.php index b9a261a23..24472a244 100644 --- a/app/Models/RelationshipType.php +++ b/app/Models/RelationshipType.php @@ -44,8 +44,6 @@ class RelationshipType extends Model /** * Get the group type associated with the relationship type. - * - * @return BelongsTo */ public function groupType(): BelongsTo { diff --git a/app/Models/Religion.php b/app/Models/Religion.php index b9292ce20..e88bf14a1 100644 --- a/app/Models/Religion.php +++ b/app/Models/Religion.php @@ -25,8 +25,6 @@ class Religion extends Model /** * Get the account associated with the religion. - * - * @return BelongsTo */ public function account(): BelongsTo { diff --git a/app/Models/SliceOfLife.php b/app/Models/SliceOfLife.php index 84ee92040..7fa425497 100644 --- a/app/Models/SliceOfLife.php +++ b/app/Models/SliceOfLife.php @@ -27,8 +27,6 @@ class SliceOfLife extends Model /** * Get the journal associated with the slice of life. - * - * @return BelongsTo */ public function journal(): BelongsTo { @@ -37,8 +35,6 @@ class SliceOfLife extends Model /** * Get the posts associated with the slice of life. - * - * @return HasMany */ public function posts(): HasMany { @@ -48,8 +44,6 @@ class SliceOfLife extends Model /** * Get the file associated with the slice of life. * If it exists, it's the header image. - * - * @return BelongsTo */ public function file(): BelongsTo { diff --git a/app/Models/Streak.php b/app/Models/Streak.php index 5ee53e614..951da5e07 100644 --- a/app/Models/Streak.php +++ b/app/Models/Streak.php @@ -21,18 +21,16 @@ class Streak extends Model ]; /** - * The attributes that should be mutated to dates. + * The attributes that should be cast to native types. * - * @var array + * @var array */ - protected $dates = [ - 'happened_at', + protected $casts = [ + 'happened_at' => 'datetime', ]; /** * Get the goal associated with the streak. - * - * @return BelongsTo */ public function goal(): BelongsTo { diff --git a/app/Models/Tag.php b/app/Models/Tag.php index ad62fbae0..86c1c365b 100644 --- a/app/Models/Tag.php +++ b/app/Models/Tag.php @@ -27,8 +27,6 @@ class Tag extends Model /** * Get the vault associated with the journal tag. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -37,8 +35,6 @@ class Tag extends Model /** * Get the posts associated with the journal tag. - * - * @return BelongsToMany */ public function posts(): BelongsToMany { @@ -47,8 +43,6 @@ class Tag extends Model /** * Get the journal tag's feed item. - * - * @return MorphOne */ public function feedItem(): MorphOne { diff --git a/app/Models/Template.php b/app/Models/Template.php index df6f968ab..26ca980e7 100644 --- a/app/Models/Template.php +++ b/app/Models/Template.php @@ -23,8 +23,6 @@ class Template extends Model /** * Get the account associated with the template. - * - * @return BelongsTo */ public function account(): BelongsTo { @@ -33,8 +31,6 @@ class Template extends Model /** * Get the template page records associated with the template. - * - * @return HasMany */ public function pages(): HasMany { @@ -43,8 +39,6 @@ class Template extends Model /** * Get the contacts associated with the template. - * - * @return HasMany */ public function contacts(): HasMany { diff --git a/app/Models/TemplatePage.php b/app/Models/TemplatePage.php index 770b3a73c..8e2be6926 100644 --- a/app/Models/TemplatePage.php +++ b/app/Models/TemplatePage.php @@ -46,8 +46,6 @@ class TemplatePage extends Model /** * Get the account associated with the template page. - * - * @return BelongsTo */ public function template(): BelongsTo { @@ -56,8 +54,6 @@ class TemplatePage extends Model /** * Get the modules associated with the template page. - * - * @return BelongsToMany */ public function modules(): BelongsToMany { diff --git a/app/Models/TimelineEvent.php b/app/Models/TimelineEvent.php index fa64cd4bd..655223337 100644 --- a/app/Models/TimelineEvent.php +++ b/app/Models/TimelineEvent.php @@ -36,15 +36,6 @@ class TimelineEvent extends Model 'collapsed', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'started_at', - ]; - /** * The attributes that should be cast to native types. * @@ -52,12 +43,11 @@ class TimelineEvent extends Model */ protected $casts = [ 'collapsed' => 'boolean', + 'started_at' => 'datetime', ]; /** * Get the vault associated with the timeline event. - * - * @return BelongsTo */ public function vault(): BelongsTo { @@ -66,8 +56,6 @@ class TimelineEvent extends Model /** * Get the life events associated with the timeline event. - * - * @return HasMany */ public function lifeEvents(): HasMany { @@ -76,8 +64,6 @@ class TimelineEvent extends Model /** * Get the contact records the timeline event is with. - * - * @return BelongsToMany */ public function participants(): BelongsToMany { diff --git a/app/Models/User.php b/app/Models/User.php index 553239c49..f98fd7940 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -90,8 +90,6 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen /** * Send the email verification notification. - * - * @return void */ public function sendEmailVerificationNotification(): void { @@ -106,8 +104,6 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen /** * Get the account record associated with the user. - * - * @return BelongsTo */ public function account(): BelongsTo { @@ -116,8 +112,6 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen /** * Get the vault records associated with the user. - * - * @return BelongsToMany */ public function vaults(): BelongsToMany { @@ -128,8 +122,6 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen /** * Get the contact records associated with the user. - * - * @return BelongsToMany */ public function contacts(): BelongsToMany { @@ -140,8 +132,6 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen /** * Get the note records associated with the user. - * - * @return HasMany */ public function notes(): HasMany { @@ -150,8 +140,6 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen /** * Get the notification channel records associated with the user. - * - * @return HasMany */ public function notificationChannels(): HasMany { @@ -160,8 +148,6 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen /** * Get the task records associated with the user. - * - * @return HasMany */ public function contactTasks(): HasMany { @@ -185,9 +171,6 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen /** * Get the contact of the user in the given vault. * All users have a contact in the vaults. - * - * @param Vault $vault - * @return null|Contact */ public function getContactInVault(Vault $vault): ?Contact { diff --git a/app/Models/UserNotificationChannel.php b/app/Models/UserNotificationChannel.php index 22f6f630f..e44492aea 100644 --- a/app/Models/UserNotificationChannel.php +++ b/app/Models/UserNotificationChannel.php @@ -44,22 +44,12 @@ class UserNotificationChannel extends Model */ protected $casts = [ 'active' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'verified_at', - 'preferred_time', + 'verified_at' => 'datetime', + 'preferred_time' => 'datetime', ]; /** * Get the user associated with the user notification channel. - * - * @return BelongsTo */ public function user(): BelongsTo { @@ -69,8 +59,6 @@ class UserNotificationChannel extends Model /** * Get the user notification sent records associated with the user * notification channel. - * - * @return HasMany */ public function userNotificationSent(): HasMany { @@ -79,8 +67,6 @@ class UserNotificationChannel extends Model /** * Get the contact reminder records associated with the user. - * - * @return BelongsToMany */ public function contactReminders(): BelongsToMany { diff --git a/app/Models/UserNotificationSent.php b/app/Models/UserNotificationSent.php index 201b03e5b..bcadec6b7 100644 --- a/app/Models/UserNotificationSent.php +++ b/app/Models/UserNotificationSent.php @@ -25,18 +25,16 @@ class UserNotificationSent extends Model ]; /** - * The attributes that should be mutated to dates. + * The attributes that should be cast to native types. * - * @var array + * @var array */ - protected $dates = [ - 'sent_at', + protected $casts = [ + 'sent_at' => 'datetime', ]; /** * Get the user notification channel associated with the user notification sent. - * - * @return BelongsTo */ public function notificationChannel(): BelongsTo { diff --git a/app/Models/Vault.php b/app/Models/Vault.php index 52b0cbf60..d1553d7a6 100644 --- a/app/Models/Vault.php +++ b/app/Models/Vault.php @@ -67,8 +67,6 @@ class Vault extends Model /** * Get the columns that should receive a unique identifier. - * - * @return array */ public function uniqueIds(): array { @@ -77,8 +75,6 @@ class Vault extends Model /** * Used to delete related objects from Meilisearch/Algolia instance. - * - * @return void */ protected static function boot(): void { @@ -94,8 +90,6 @@ class Vault extends Model /** * Get the account associated with the vault. - * - * @return BelongsTo */ public function account(): BelongsTo { @@ -104,8 +98,6 @@ class Vault extends Model /** * Get the template associated with the vault. - * - * @return BelongsTo */ public function template(): BelongsTo { @@ -114,8 +106,6 @@ class Vault extends Model /** * Get the contact associated with the vault. - * - * @return HasMany */ public function contacts(): HasMany { @@ -124,8 +114,6 @@ class Vault extends Model /** * Get the labels associated with the vault. - * - * @return HasMany */ public function labels(): HasMany { @@ -134,8 +122,6 @@ class Vault extends Model /** * Get the users associated with the vault. - * - * @return BelongsToMany */ public function users(): BelongsToMany { @@ -146,8 +132,6 @@ class Vault extends Model /** * Get the contact important date types associated with the vault. - * - * @return HasMany */ public function contactImportantDateTypes(): HasMany { @@ -156,8 +140,6 @@ class Vault extends Model /** * Get the companies associated with the vault. - * - * @return HasMany */ public function companies(): HasMany { @@ -186,8 +168,6 @@ class Vault extends Model /** * Get the tags associated with the vault. - * - * @return HasMany */ public function tags(): HasMany { @@ -196,8 +176,6 @@ class Vault extends Model /** * Get the loans associated with the vault. - * - * @return HasMany */ public function loans(): HasMany { @@ -206,8 +184,6 @@ class Vault extends Model /** * Get the files associated with the vault. - * - * @return HasMany */ public function files(): HasMany { @@ -216,8 +192,6 @@ class Vault extends Model /** * Get the mood tracking parameters associated with the vault. - * - * @return HasMany */ public function moodTrackingParameters(): HasMany { @@ -226,8 +200,6 @@ class Vault extends Model /** * Get the life event categories associated with the vault. - * - * @return HasMany */ public function lifeEventCategories(): HasMany { @@ -236,8 +208,6 @@ class Vault extends Model /** * Get the timeline events associated with the vault. - * - * @return HasMany */ public function timelineEvents(): HasMany { @@ -246,8 +216,6 @@ class Vault extends Model /** * Get the address records associated with the vault. - * - * @return HasMany */ public function addresses(): HasMany { diff --git a/app/Providers/DAVServiceProvider.php b/app/Providers/DAVServiceProvider.php index a3d76839f..56c1d827b 100644 --- a/app/Providers/DAVServiceProvider.php +++ b/app/Providers/DAVServiceProvider.php @@ -34,8 +34,6 @@ class DAVServiceProvider extends ServiceProvider /** * List of nodes for DAV Collection. - * - * @return array */ private function nodes(): array { diff --git a/app/Services/BaseService.php b/app/Services/BaseService.php index 8bfe80706..4a86cdaaf 100644 --- a/app/Services/BaseService.php +++ b/app/Services/BaseService.php @@ -28,8 +28,6 @@ abstract class BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -38,8 +36,6 @@ abstract class BaseService /** * Get the permissions that users need to execute the service. - * - * @return array */ public function permissions(): array { @@ -48,8 +44,6 @@ abstract class BaseService /** * Get author's account. - * - * @return Account */ public function account(): Account { @@ -58,9 +52,6 @@ abstract class BaseService /** * Validate an array against a set of rules. - * - * @param array $data - * @return bool */ public function validateRules(array $data): bool { @@ -99,8 +90,6 @@ abstract class BaseService /** * Validate that the author of the action belongs to the account. - * - * @param array $data */ private function validateAuthorBelongsToAccount(array $data): void { @@ -122,8 +111,6 @@ abstract class BaseService /** * Validate that the vault belongs to the account. - * - * @param array $data */ private function validateVaultExists(array $data): void { @@ -134,8 +121,6 @@ abstract class BaseService /** * Validate that the user has the right to do what he's supposed to do in * the given vault. - * - * @param int $permission */ public function validateUserPermissionInVault(int $permission): void { @@ -151,8 +136,6 @@ abstract class BaseService /** * Validate that the contact belongs to the account. - * - * @param array $data */ public function validateContactBelongsToVault(array $data): void { diff --git a/app/Services/QueuableService.php b/app/Services/QueuableService.php index d03bc1d35..411bd2f81 100644 --- a/app/Services/QueuableService.php +++ b/app/Services/QueuableService.php @@ -17,8 +17,6 @@ abstract class QueuableService extends BaseService implements ShouldQueue /** * The number of times the job may be attempted. - * - * @var int */ public int $tries = 1; @@ -35,8 +33,6 @@ abstract class QueuableService extends BaseService implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { @@ -45,17 +41,11 @@ abstract class QueuableService extends BaseService implements ShouldQueue /** * Execute the service. - * - * @param array $data - * @return void */ abstract public function execute(array $data): void; /** * Handle a job failure. - * - * @param \Throwable $exception - * @return void */ public function failed(Throwable $exception): void { diff --git a/app/Traits/DAVFormat.php b/app/Traits/DAVFormat.php index de768a46f..21b5afc47 100644 --- a/app/Traits/DAVFormat.php +++ b/app/Traits/DAVFormat.php @@ -6,9 +6,6 @@ trait DAVFormat { /** * Formats and returns a string for DAV Card/Cal. - * - * @param null|string $value - * @return null|string */ private function formatValue(?string $value): ?string { diff --git a/app/Traits/JsonRespondController.php b/app/Traits/JsonRespondController.php index c74ed4c3d..09a599a42 100644 --- a/app/Traits/JsonRespondController.php +++ b/app/Traits/JsonRespondController.php @@ -44,8 +44,6 @@ trait JsonRespondController /** * Sends a response not found (404) to the request. * Error Code = 31. - * - * @return JsonResponse */ public function respondNotFound(): JsonResponse { @@ -57,9 +55,6 @@ trait JsonRespondController /** * Sends an error when the validator failed. * Error Code = 32. - * - * @param Validator $validator - * @return JsonResponse */ public function respondValidatorFailed(Validator $validator): JsonResponse { @@ -72,9 +67,6 @@ trait JsonRespondController * Sends an error when the query didn't have the right parameters for * creating an object. * Error Code = 33. - * - * @param string|null $message - * @return JsonResponse */ public function respondNotTheRightParameters(string $message = null): JsonResponse { @@ -86,9 +78,6 @@ trait JsonRespondController /** * Sends a response invalid query (http 500) to the request. * Error Code = 40. - * - * @param string|null $message - * @return JsonResponse */ public function respondInvalidQuery(string $message = null): JsonResponse { @@ -100,9 +89,6 @@ trait JsonRespondController /** * Sends an error when the query contains invalid parameters. * Error Code = 41. - * - * @param string|null $message - * @return JsonResponse */ public function respondInvalidParameters(string $message = null): JsonResponse { @@ -114,9 +100,6 @@ trait JsonRespondController /** * Sends a response unauthorized (401) to the request. * Error Code = 42. - * - * @param string|null $message - * @return JsonResponse */ public function respondUnauthorized(string $message = null): JsonResponse { @@ -127,9 +110,6 @@ trait JsonRespondController /** * Sends a response with error. - * - * @param array|string|null $message - * @return JsonResponse */ public function respondWithError(array|string $message = null): JsonResponse { @@ -144,9 +124,6 @@ trait JsonRespondController /** * Sends a response that the object has been deleted, and also indicates * the id of the object that has been deleted. - * - * @param int $id - * @return JsonResponse */ public function respondObjectDeleted(int $id): JsonResponse { diff --git a/composer.json b/composer.json index 30142fc5d..7be919f3d 100644 --- a/composer.json +++ b/composer.json @@ -14,14 +14,13 @@ "ext-fileinfo": "*", "asbiin/laravel-webauthn": "^3.2", "codezero/laravel-localizer": "^1.7", - "fruitcake/laravel-cors": "^2.2", "guzzlehttp/guzzle": "^7.4", "http-interop/http-factory-guzzle": "^1.2", "inertiajs/inertia-laravel": "^0", "knuckleswtf/scribe": "^4.2", - "laravel-notification-channels/telegram": "^3.0", + "laravel-notification-channels/telegram": "^4.0", "laravel/fortify": "^1.13", - "laravel/framework": "^9.22", + "laravel/framework": "^10.0", "laravel/jetstream": "^2.10", "laravel/sanctum": "^3.1", "laravel/scout": "^9.4", @@ -30,7 +29,7 @@ "laravel/tinker": "^2.7", "meilisearch/meilisearch-php": "^1.0", "monicahq/laravel-sabre": "^1.6", - "naugrim/laravel-sentry-tunnel": "^1.0", + "naugrim/laravel-sentry-tunnel": "^1.1", "sentry/sentry-laravel": "^3.0", "socialiteproviders/facebook": "^4.1", "socialiteproviders/github": "^4.1", @@ -44,17 +43,17 @@ "require-dev": { "barryvdh/laravel-debugbar": "^3.7", "barryvdh/laravel-ide-helper": "^2.12", - "brianium/paratest": "^6.4", + "brianium/paratest": "^7.0", "fakerphp/faker": "^1.9", "laravel/pint": "^1.1", "laravel/sail": "^1.14", "mockery/mockery": "^1.4", - "nunomaduro/collision": "^6.0", + "nunomaduro/collision": "^7.0", "nunomaduro/larastan": "^2.0", - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^10.0", "psalm/plugin-laravel": "^2.0", "roave/security-advisories": "dev-master", - "spatie/laravel-ignition": "^1.0" + "spatie/laravel-ignition": "^2.0" }, "autoload": { "psr-4": { @@ -83,9 +82,10 @@ "preferred-install": "dist", "sort-packages": true, "allow-plugins": { - "composer/package-versions-deprecated": true + "composer/package-versions-deprecated": true, + "php-http/discovery": true } }, - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true } diff --git a/composer.lock b/composer.lock index da9720483..1b138ff0b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "477c9110d761fbf07ca39f6cece48780", + "content-hash": "93aa6647d3bd8b4c521970b08afabecc", "packages": [ { "name": "asbiin/laravel-webauthn", - "version": "3.3.0", + "version": "3.3.1", "source": { "type": "git", "url": "https://github.com/asbiin/laravel-webauthn.git", - "reference": "007c37acad5ba9f5fc7c0351284f948bf6a6e4b6" + "reference": "fa246351081aac52c7cb48fbabf42510c3475ab9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/asbiin/laravel-webauthn/zipball/007c37acad5ba9f5fc7c0351284f948bf6a6e4b6", - "reference": "007c37acad5ba9f5fc7c0351284f948bf6a6e4b6", + "url": "https://api.github.com/repos/asbiin/laravel-webauthn/zipball/fa246351081aac52c7cb48fbabf42510c3475ab9", + "reference": "fa246351081aac52c7cb48fbabf42510c3475ab9", "shasum": "" }, "require": { @@ -92,63 +92,7 @@ "type": "github" } ], - "time": "2023-02-07T08:21:50+00:00" - }, - { - "name": "asm89/stack-cors", - "version": "v2.1.1", - "source": { - "type": "git", - "url": "https://github.com/asm89/stack-cors.git", - "reference": "73e5b88775c64ccc0b84fb60836b30dc9d92ac4a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/asm89/stack-cors/zipball/73e5b88775c64ccc0b84fb60836b30dc9d92ac4a", - "reference": "73e5b88775c64ccc0b84fb60836b30dc9d92ac4a", - "shasum": "" - }, - "require": { - "php": "^7.2|^8.0", - "symfony/http-foundation": "^4|^5|^6", - "symfony/http-kernel": "^4|^5|^6" - }, - "require-dev": { - "phpunit/phpunit": "^7|^9", - "squizlabs/php_codesniffer": "^3.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - } - }, - "autoload": { - "psr-4": { - "Asm89\\Stack\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Alexander", - "email": "iam.asm89@gmail.com" - } - ], - "description": "Cross-origin resource sharing library and stack middleware", - "homepage": "https://github.com/asm89/stack-cors", - "keywords": [ - "cors", - "stack" - ], - "support": { - "issues": "https://github.com/asm89/stack-cors/issues", - "source": "https://github.com/asm89/stack-cors/tree/v2.1.1" - }, - "time": "2022-01-18T09:12:03+00:00" + "time": "2023-02-19T17:57:47+00:00" }, { "name": "bacon/bacon-qr-code", @@ -1080,86 +1024,6 @@ ], "time": "2022-11-02T16:23:29+00:00" }, - { - "name": "fruitcake/laravel-cors", - "version": "v2.2.0", - "source": { - "type": "git", - "url": "https://github.com/fruitcake/laravel-cors.git", - "reference": "783a74f5e3431d7b9805be8afb60fd0a8f743534" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fruitcake/laravel-cors/zipball/783a74f5e3431d7b9805be8afb60fd0a8f743534", - "reference": "783a74f5e3431d7b9805be8afb60fd0a8f743534", - "shasum": "" - }, - "require": { - "asm89/stack-cors": "^2.0.1", - "illuminate/contracts": "^6|^7|^8|^9", - "illuminate/support": "^6|^7|^8|^9", - "php": ">=7.2" - }, - "require-dev": { - "laravel/framework": "^6|^7.24|^8", - "orchestra/testbench-dusk": "^4|^5|^6|^7", - "phpunit/phpunit": "^6|^7|^8|^9", - "squizlabs/php_codesniffer": "^3.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - }, - "laravel": { - "providers": [ - "Fruitcake\\Cors\\CorsServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Fruitcake\\Cors\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fruitcake", - "homepage": "https://fruitcake.nl" - }, - { - "name": "Barry vd. Heuvel", - "email": "barryvdh@gmail.com" - } - ], - "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application", - "keywords": [ - "api", - "cors", - "crossdomain", - "laravel" - ], - "support": { - "issues": "https://github.com/fruitcake/laravel-cors/issues", - "source": "https://github.com/fruitcake/laravel-cors/tree/v2.2.0" - }, - "funding": [ - { - "url": "https://fruitcake.nl", - "type": "custom" - }, - { - "url": "https://github.com/barryvdh", - "type": "github" - } - ], - "abandoned": true, - "time": "2022-02-23T14:25:13+00:00" - }, { "name": "fruitcake/php-cors", "version": "v1.2.0", @@ -1233,24 +1097,24 @@ }, { "name": "graham-campbell/result-type", - "version": "v1.1.0", + "version": "v1.1.1", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "a878d45c1914464426dc94da61c9e1d36ae262a8" + "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/a878d45c1914464426dc94da61c9e1d36ae262a8", - "reference": "a878d45c1914464426dc94da61c9e1d36ae262a8", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831", + "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9" + "phpoption/phpoption": "^1.9.1" }, "require-dev": { - "phpunit/phpunit": "^8.5.28 || ^9.5.21" + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" }, "type": "library", "autoload": { @@ -1279,7 +1143,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.0" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.1" }, "funding": [ { @@ -1291,7 +1155,7 @@ "type": "tidelift" } ], - "time": "2022-07-30T15:56:11+00:00" + "time": "2023-02-25T20:23:15+00:00" }, { "name": "guzzlehttp/guzzle", @@ -1624,6 +1488,90 @@ ], "time": "2022-10-26T14:07:24+00:00" }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/b945d74a55a25a949158444f09ec0d3c120d69e2", + "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.17" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.19 || ^9.5.8", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2021-10-07T12:57:01+00:00" + }, { "name": "http-interop/http-factory-guzzle", "version": "1.2.0", @@ -1950,16 +1898,16 @@ }, { "name": "knuckleswtf/scribe", - "version": "4.13.0", + "version": "4.16.0", "source": { "type": "git", "url": "https://github.com/knuckleswtf/scribe.git", - "reference": "ecc6d28e9db10b2b0154b7a081a262e643523e02" + "reference": "1df972a3f73dd3b98e1dcf038597606ba9bdb01f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/knuckleswtf/scribe/zipball/ecc6d28e9db10b2b0154b7a081a262e643523e02", - "reference": "ecc6d28e9db10b2b0154b7a081a262e643523e02", + "url": "https://api.github.com/repos/knuckleswtf/scribe/zipball/1df972a3f73dd3b98e1dcf038597606ba9bdb01f", + "reference": "1df972a3f73dd3b98e1dcf038597606ba9bdb01f", "shasum": "" }, "require": { @@ -1968,13 +1916,13 @@ "ext-json": "*", "ext-pdo": "*", "fakerphp/faker": "^1.9.1", - "illuminate/console": "^8.0|^9.0", - "illuminate/routing": "^8.0|^9.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/console": "^8.0|^9.0|^10.0", + "illuminate/routing": "^8.0|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0", "league/flysystem": "^1.1.4|^2.1.1|^3.0", "mpociot/reflection-docblock": "^1.0.1", "nikic/php-parser": "^4.10", - "nunomaduro/collision": "^5.10|^6.0", + "nunomaduro/collision": "^5.10|^6.0|^7.0", "php": ">=8.0", "ramsey/uuid": "^4.2.2", "shalvah/clara": "^3.1.0", @@ -1988,12 +1936,12 @@ }, "require-dev": { "brianium/paratest": "^6.0", - "dms/phpunit-arraysubset-asserts": "^0.2.0", + "dms/phpunit-arraysubset-asserts": "^0.4", "laravel/legacy-factories": "^1.3.0", "laravel/lumen-framework": "^8.0|^9.0", - "league/fractal": "^0.19.0", + "league/fractal": "^0.20", "nikic/fast-route": "^1.3", - "orchestra/testbench": "^6.0|^7.0", + "orchestra/testbench": "^6.0|^7.0|^8.0", "pestphp/pest": "^1.21", "phpstan/phpstan": "^1.0", "phpunit/phpunit": "^9.0|^10.0", @@ -2033,7 +1981,7 @@ ], "support": { "issues": "https://github.com/knuckleswtf/scribe/issues", - "source": "https://github.com/knuckleswtf/scribe/tree/4.13.0" + "source": "https://github.com/knuckleswtf/scribe/tree/4.16.0" }, "funding": [ { @@ -2041,40 +1989,40 @@ "type": "patreon" } ], - "time": "2023-01-22T21:06:43+00:00" + "time": "2023-02-16T18:51:12+00:00" }, { "name": "laravel-notification-channels/telegram", - "version": "3.0.0", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/laravel-notification-channels/telegram.git", - "reference": "8609d67d2f0b6ae5adfba85021722443dd332fb8" + "reference": "c67b312193fcd59c8abad1ee1f5b1f4e5540c201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel-notification-channels/telegram/zipball/8609d67d2f0b6ae5adfba85021722443dd332fb8", - "reference": "8609d67d2f0b6ae5adfba85021722443dd332fb8", + "url": "https://api.github.com/repos/laravel-notification-channels/telegram/zipball/c67b312193fcd59c8abad1ee1f5b1f4e5540c201", + "reference": "c67b312193fcd59c8abad1ee1f5b1f4e5540c201", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/guzzle": "^7.0", - "illuminate/contracts": "^9.0", - "illuminate/notifications": "^9.0", - "illuminate/support": "^9.0", - "php": "^8.0" + "guzzlehttp/guzzle": "^7.2", + "illuminate/contracts": "^10.0", + "illuminate/notifications": "^10.0", + "illuminate/support": "^10.0", + "php": "^8.1" }, "require-dev": { - "mockery/mockery": "^1.4", - "nunomaduro/larastan": "^2.0", - "orchestra/testbench": "^7.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5" + "mockery/mockery": "^1.4.4", + "nunomaduro/larastan": "^2.4", + "orchestra/testbench": "^8.0", + "pestphp/pest": "^1.22", + "pestphp/pest-plugin-laravel": "^1.4", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.10" }, "type": "library", "extra": { @@ -2112,9 +2060,9 @@ ], "support": { "issues": "https://github.com/laravel-notification-channels/telegram/issues", - "source": "https://github.com/laravel-notification-channels/telegram/tree/3.0.0" + "source": "https://github.com/laravel-notification-channels/telegram/tree/4.0.0" }, - "time": "2022-10-15T01:56:19+00:00" + "time": "2023-02-14T18:21:03+00:00" }, { "name": "laravel/fortify", @@ -2181,48 +2129,55 @@ }, { "name": "laravel/framework", - "version": "v9.50.2", + "version": "v10.1.5", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "39932773c09658ddea9045958f305e67f9304995" + "reference": "57850ab537cf0554b5b616215079c761b98168c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/39932773c09658ddea9045958f305e67f9304995", - "reference": "39932773c09658ddea9045958f305e67f9304995", + "url": "https://api.github.com/repos/laravel/framework/zipball/57850ab537cf0554b5b616215079c761b98168c8", + "reference": "57850ab537cf0554b5b616215079c761b98168c8", "shasum": "" }, "require": { "brick/math": "^0.9.3|^0.10.2|^0.11", + "composer-runtime-api": "^2.2", "doctrine/inflector": "^2.0.5", "dragonmantank/cron-expression": "^3.3.2", "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", "ext-mbstring": "*", "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", "fruitcake/php-cors": "^1.2", - "laravel/serializable-closure": "^1.2.2", + "guzzlehttp/uri-template": "^1.0", + "laravel/serializable-closure": "^1.3", "league/commonmark": "^2.2.1", "league/flysystem": "^3.8.0", - "monolog/monolog": "^2.0", + "monolog/monolog": "^3.0", "nesbot/carbon": "^2.62.1", "nunomaduro/termwind": "^1.13", - "php": "^8.0.2", + "php": "^8.1", "psr/container": "^1.1.1|^2.0.1", "psr/log": "^1.0|^2.0|^3.0", "psr/simple-cache": "^1.0|^2.0|^3.0", "ramsey/uuid": "^4.7", - "symfony/console": "^6.0.9", - "symfony/error-handler": "^6.0", - "symfony/finder": "^6.0", - "symfony/http-foundation": "^6.0", - "symfony/http-kernel": "^6.0", - "symfony/mailer": "^6.0", - "symfony/mime": "^6.0", - "symfony/process": "^6.0", - "symfony/routing": "^6.0", - "symfony/uid": "^6.0", - "symfony/var-dumper": "^6.0", + "symfony/console": "^6.2", + "symfony/error-handler": "^6.2", + "symfony/finder": "^6.2", + "symfony/http-foundation": "^6.2", + "symfony/http-kernel": "^6.2", + "symfony/mailer": "^6.2", + "symfony/mime": "^6.2", + "symfony/process": "^6.2", + "symfony/routing": "^6.2", + "symfony/uid": "^6.2", + "symfony/var-dumper": "^6.2", "tijsverkoyen/css-to-inline-styles": "^2.2.5", "vlucas/phpdotenv": "^5.4.1", "voku/portable-ascii": "^2.0" @@ -2258,6 +2213,7 @@ "illuminate/notifications": "self.version", "illuminate/pagination": "self.version", "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", "illuminate/queue": "self.version", "illuminate/redis": "self.version", "illuminate/routing": "self.version", @@ -2271,7 +2227,8 @@ "require-dev": { "ably/ably-php": "^1.0", "aws/aws-sdk-php": "^3.235.5", - "doctrine/dbal": "^2.13.3|^3.1.4", + "doctrine/dbal": "^3.5.1", + "ext-gmp": "*", "fakerphp/faker": "^1.21", "guzzlehttp/guzzle": "^7.5", "league/flysystem-aws-s3-v3": "^3.0", @@ -2280,24 +2237,27 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.16", + "orchestra/testbench-core": "^8.0", "pda/pheanstalk": "^4.0", "phpstan/phpdoc-parser": "^1.15", "phpstan/phpstan": "^1.4.7", - "phpunit/phpunit": "^9.5.8", - "predis/predis": "^1.1.9|^2.0.2", - "symfony/cache": "^6.0", - "symfony/http-client": "^6.0" + "phpunit/phpunit": "^10.0.7", + "predis/predis": "^2.0.2", + "symfony/cache": "^6.2", + "symfony/http-client": "^6.2.4" }, "suggest": { "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", "brianium/paratest": "Required to run tests in parallel (^6.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", "ext-ftp": "Required to use the Flysystem FTP driver.", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", "ext-memcached": "Required to use the memcache cache driver.", - "ext-pcntl": "Required to use all features of the queue worker.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", "ext-posix": "Required to use all features of the queue worker.", "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", @@ -2312,21 +2272,21 @@ "mockery/mockery": "Required to use mocking (^1.5.1).", "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", - "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8).", - "predis/predis": "Required to use the predis connector (^1.1.9|^2.0.2).", + "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).", + "predis/predis": "Required to use the predis connector (^2.0.2).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^6.0).", - "symfony/filesystem": "Required to enable support for relative symbolic links (^6.0).", - "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.0).", - "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.0).", - "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^6.2).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).", "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.x-dev" + "dev-master": "10.x-dev" } }, "autoload": { @@ -2365,20 +2325,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-02-02T20:52:46+00:00" + "time": "2023-02-24T09:57:13+00:00" }, { "name": "laravel/jetstream", - "version": "v2.16.0", + "version": "v2.16.2", "source": { "type": "git", "url": "https://github.com/laravel/jetstream.git", - "reference": "ab711bf1ddba2d9af257350eeb0412e6e9d46452" + "reference": "1b95df05aac85caffdbba9aeb6d22a49fc598dff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/jetstream/zipball/ab711bf1ddba2d9af257350eeb0412e6e9d46452", - "reference": "ab711bf1ddba2d9af257350eeb0412e6e9d46452", + "url": "https://api.github.com/repos/laravel/jetstream/zipball/1b95df05aac85caffdbba9aeb6d22a49fc598dff", + "reference": "1b95df05aac85caffdbba9aeb6d22a49fc598dff", "shasum": "" }, "require": { @@ -2435,7 +2395,7 @@ "issues": "https://github.com/laravel/jetstream/issues", "source": "https://github.com/laravel/jetstream" }, - "time": "2023-01-18T23:01:15+00:00" + "time": "2023-02-14T19:28:38+00:00" }, { "name": "laravel/sanctum", @@ -2504,16 +2464,16 @@ }, { "name": "laravel/scout", - "version": "v9.8.0", + "version": "v9.8.1", "source": { "type": "git", "url": "https://github.com/laravel/scout.git", - "reference": "f765673311226919d2526d3148a558306283bc7c" + "reference": "38595717b396ce733d432b82e3225fa4e0d6c8ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/scout/zipball/f765673311226919d2526d3148a558306283bc7c", - "reference": "f765673311226919d2526d3148a558306283bc7c", + "url": "https://api.github.com/repos/laravel/scout/zipball/38595717b396ce733d432b82e3225fa4e0d6c8ef", + "reference": "38595717b396ce733d432b82e3225fa4e0d6c8ef", "shasum": "" }, "require": { @@ -2573,7 +2533,7 @@ "issues": "https://github.com/laravel/scout/issues", "source": "https://github.com/laravel/scout" }, - "time": "2023-01-17T16:30:55+00:00" + "time": "2023-02-14T16:53:14+00:00" }, { "name": "laravel/serializable-closure", @@ -2706,16 +2666,16 @@ }, { "name": "laravel/telescope", - "version": "v4.13.0", + "version": "v4.14.0", "source": { "type": "git", "url": "https://github.com/laravel/telescope.git", - "reference": "54b543bb2c8fc4cec6337deedb72d0b41758095c" + "reference": "fafad2e32883eb9dc03b646d0f82b2987e8af880" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/telescope/zipball/54b543bb2c8fc4cec6337deedb72d0b41758095c", - "reference": "54b543bb2c8fc4cec6337deedb72d0b41758095c", + "url": "https://api.github.com/repos/laravel/telescope/zipball/fafad2e32883eb9dc03b646d0f82b2987e8af880", + "reference": "fafad2e32883eb9dc03b646d0f82b2987e8af880", "shasum": "" }, "require": { @@ -2727,7 +2687,8 @@ "require-dev": { "ext-gd": "*", "guzzlehttp/guzzle": "^6.0|^7.0", - "orchestra/testbench": "^6.0|^7.0|^8.0" + "orchestra/testbench": "^6.0|^7.0|^8.0", + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { @@ -2768,22 +2729,22 @@ ], "support": { "issues": "https://github.com/laravel/telescope/issues", - "source": "https://github.com/laravel/telescope/tree/v4.13.0" + "source": "https://github.com/laravel/telescope/tree/v4.14.0" }, - "time": "2023-01-30T14:43:38+00:00" + "time": "2023-02-21T15:49:06+00:00" }, { "name": "laravel/tinker", - "version": "v2.8.0", + "version": "v2.8.1", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "74d0b287cc4ae65d15c368dd697aae71d62a73ad" + "reference": "04a2d3bd0d650c0764f70bf49d1ee39393e4eb10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/74d0b287cc4ae65d15c368dd697aae71d62a73ad", - "reference": "74d0b287cc4ae65d15c368dd697aae71d62a73ad", + "url": "https://api.github.com/repos/laravel/tinker/zipball/04a2d3bd0d650c0764f70bf49d1ee39393e4eb10", + "reference": "04a2d3bd0d650c0764f70bf49d1ee39393e4eb10", "shasum": "" }, "require": { @@ -2836,9 +2797,9 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.8.0" + "source": "https://github.com/laravel/tinker/tree/v2.8.1" }, - "time": "2023-01-10T18:03:30+00:00" + "time": "2023-02-15T16:40:09+00:00" }, { "name": "lcobucci/clock", @@ -2906,16 +2867,16 @@ }, { "name": "league/commonmark", - "version": "2.3.8", + "version": "2.3.9", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "c493585c130544c4e91d2e0e131e6d35cb0cbc47" + "reference": "c1e114f74e518daca2729ea8c4bf1167038fa4b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/c493585c130544c4e91d2e0e131e6d35cb0cbc47", - "reference": "c493585c130544c4e91d2e0e131e6d35cb0cbc47", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/c1e114f74e518daca2729ea8c4bf1167038fa4b5", + "reference": "c1e114f74e518daca2729ea8c4bf1167038fa4b5", "shasum": "" }, "require": { @@ -3008,7 +2969,7 @@ "type": "tidelift" } ], - "time": "2022-12-10T16:02:17+00:00" + "time": "2023-02-15T14:07:24+00:00" }, { "name": "league/config", @@ -3094,16 +3055,16 @@ }, { "name": "league/flysystem", - "version": "3.12.2", + "version": "3.12.3", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "f6377c709d2275ed6feaf63e44be7a7162b0e77f" + "reference": "81e87e74dd5213795c7846d65089712d2dda90ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f6377c709d2275ed6feaf63e44be7a7162b0e77f", - "reference": "f6377c709d2275ed6feaf63e44be7a7162b0e77f", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/81e87e74dd5213795c7846d65089712d2dda90ce", + "reference": "81e87e74dd5213795c7846d65089712d2dda90ce", "shasum": "" }, "require": { @@ -3165,7 +3126,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.12.2" + "source": "https://github.com/thephpleague/flysystem/tree/3.12.3" }, "funding": [ { @@ -3181,7 +3142,7 @@ "type": "tidelift" } ], - "time": "2023-01-19T12:02:19+00:00" + "time": "2023-02-18T15:32:41+00:00" }, { "name": "league/mime-type-detection", @@ -3441,20 +3402,20 @@ }, { "name": "monicahq/laravel-sabre", - "version": "1.6.0", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/monicahq/laravel-sabre.git", - "reference": "98b825943952d0e7c1d75657555dc2185fc4d7ae" + "reference": "22d0d84dd7a774ea8cfba14538fc8feeb09ea261" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/monicahq/laravel-sabre/zipball/98b825943952d0e7c1d75657555dc2185fc4d7ae", - "reference": "98b825943952d0e7c1d75657555dc2185fc4d7ae", + "url": "https://api.github.com/repos/monicahq/laravel-sabre/zipball/22d0d84dd7a774ea8cfba14538fc8feeb09ea261", + "reference": "22d0d84dd7a774ea8cfba14538fc8feeb09ea261", "shasum": "" }, "require": { - "illuminate/support": "^8.0 || ^9.0", + "illuminate/support": "^8.0 || ^9.0 || ^10.0", "sabre/dav": "^4.0", "thecodingmachine/safe": "^2.0" }, @@ -3462,14 +3423,14 @@ "mockery/mockery": "^1.4", "nunomaduro/larastan": "^1.0 || ^2.0", "ocramius/package-versions": "^1.9 || ^2.0", - "orchestra/testbench": "^6.0 || ^7.0", + "orchestra/testbench": "^6.0 || ^7.0 || ^8.0", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^9.0", "roave/security-advisories": "dev-master", "thecodingmachine/phpstan-safe-rule": "^1.0", - "vimeo/psalm": "^4.0" + "vimeo/psalm": "^4.0 || ^5.6" }, "type": "library", "extra": { @@ -3511,46 +3472,45 @@ "type": "github" } ], - "time": "2022-04-23T09:33:57+00:00" + "time": "2023-02-08T20:32:09+00:00" }, { "name": "monolog/monolog", - "version": "2.9.1", + "version": "3.3.1", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1" + "reference": "9b5daeaffce5b926cac47923798bba91059e60e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1", - "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/9b5daeaffce5b926cac47923798bba91059e60e2", + "reference": "9b5daeaffce5b926cac47923798bba91059e60e2", "shasum": "" }, "require": { - "php": ">=7.2", - "psr/log": "^1.0.1 || ^2.0 || ^3.0" + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" }, "provide": { - "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" + "psr/log-implementation": "3.0.0" }, "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "aws/aws-sdk-php": "^3.0", "doctrine/couchdb": "~1.0@dev", "elasticsearch/elasticsearch": "^7 || ^8", "ext-json": "*", "graylog2/gelf-php": "^1.4.2 || ^2@dev", - "guzzlehttp/guzzle": "^7.4", + "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", "php-amqplib/php-amqplib": "~2.4 || ^3", - "phpspec/prophecy": "^1.15", - "phpstan/phpstan": "^0.12.91", - "phpunit/phpunit": "^8.5.14", - "predis/predis": "^1.1 || ^2.0", - "rollbar/rollbar": "^1.3 || ^2 || ^3", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "^9.5.26", + "predis/predis": "^1.1 || ^2", "ruflin/elastica": "^7", - "swiftmailer/swiftmailer": "^5.3|^6.0", "symfony/mailer": "^5.4 || ^6", "symfony/mime": "^5.4 || ^6" }, @@ -3573,7 +3533,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -3601,7 +3561,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.9.1" + "source": "https://github.com/Seldaek/monolog/tree/3.3.1" }, "funding": [ { @@ -3613,7 +3573,7 @@ "type": "tidelift" } ], - "time": "2023-02-06T13:44:46+00:00" + "time": "2023-02-06T13:46:10+00:00" }, { "name": "mpociot/reflection-docblock", @@ -3670,25 +3630,29 @@ }, { "name": "naugrim/laravel-sentry-tunnel", - "version": "1.0.1", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/Naugrimm/laravel-sentry-tunnel.git", - "reference": "87f1f5ccaef6765e84e29f69a196741a0809ae57" + "reference": "492477acbea80e49b6eb02ae02ecde302842310c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Naugrimm/laravel-sentry-tunnel/zipball/87f1f5ccaef6765e84e29f69a196741a0809ae57", - "reference": "87f1f5ccaef6765e84e29f69a196741a0809ae57", + "url": "https://api.github.com/repos/Naugrimm/laravel-sentry-tunnel/zipball/492477acbea80e49b6eb02ae02ecde302842310c", + "reference": "492477acbea80e49b6eb02ae02ecde302842310c", "shasum": "" }, "require": { - "illuminate/http": "^8.0|^9.0", - "illuminate/routing": "^8.0|^9.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/http": "^8.0|^9.0|^10.0", + "illuminate/routing": "^8.0|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0", "php": "^8.0" }, "require-dev": { + "nunomaduro/larastan": "^2.4", + "orchestra/testbench": "^8.0", + "phpstan/phpstan": "^1.10", + "phpstan/phpstan-deprecation-rules": "^1.1", "symplify/easy-coding-standard": "^10.1" }, "type": "library", @@ -3717,9 +3681,9 @@ "description": "Provides an endpoint to use the `tunnel`-parameter of the Sentry SDK", "support": { "issues": "https://github.com/Naugrimm/laravel-sentry-tunnel/issues", - "source": "https://github.com/Naugrimm/laravel-sentry-tunnel/tree/1.0.1" + "source": "https://github.com/Naugrimm/laravel-sentry-tunnel/tree/1.1.1" }, - "time": "2022-04-08T07:41:08+00:00" + "time": "2023-02-23T10:38:28+00:00" }, { "name": "nesbot/carbon", @@ -4030,38 +3994,39 @@ }, { "name": "nunomaduro/collision", - "version": "v6.4.0", + "version": "v7.0.5", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "f05978827b9343cba381ca05b8c7deee346b6015" + "reference": "5c654ee5fa187cf2f4cb226d773582ec6d402a55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f05978827b9343cba381ca05b8c7deee346b6015", - "reference": "f05978827b9343cba381ca05b8c7deee346b6015", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/5c654ee5fa187cf2f4cb226d773582ec6d402a55", + "reference": "5c654ee5fa187cf2f4cb226d773582ec6d402a55", "shasum": "" }, "require": { - "filp/whoops": "^2.14.5", - "php": "^8.0.0", - "symfony/console": "^6.0.2" + "filp/whoops": "^2.14.6", + "nunomaduro/termwind": "^1.15.1", + "php": "^8.1.0", + "symfony/console": "^6.2.5" }, "require-dev": { - "brianium/paratest": "^6.4.1", - "laravel/framework": "^9.26.1", - "laravel/pint": "^1.1.1", - "nunomaduro/larastan": "^1.0.3", - "nunomaduro/mock-final-classes": "^1.1.0", - "orchestra/testbench": "^7.7", - "phpunit/phpunit": "^9.5.23", - "spatie/ignition": "^1.4.1" + "laravel/framework": "^10.0.3", + "laravel/pint": "^1.5.0", + "laravel/sail": "^1.20.2", + "laravel/sanctum": "^3.2.1", + "laravel/tinker": "^2.8.0", + "nunomaduro/larastan": "^2.4.1", + "orchestra/testbench-core": "^8.0.1", + "pestphp/pest": "^2.0.0", + "phpunit/phpunit": "^10.0.9", + "sebastian/environment": "^6.0.0", + "spatie/laravel-ignition": "^2.0.0" }, "type": "library", "extra": { - "branch-alias": { - "dev-develop": "6.x-dev" - }, "laravel": { "providers": [ "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" @@ -4069,6 +4034,9 @@ } }, "autoload": { + "files": [ + "./src/Adapters/Phpunit/Autoload.php" + ], "psr-4": { "NunoMaduro\\Collision\\": "src/" } @@ -4114,20 +4082,20 @@ "type": "patreon" } ], - "time": "2023-01-03T12:54:54+00:00" + "time": "2023-02-19T16:25:13+00:00" }, { "name": "nunomaduro/termwind", - "version": "v1.15.0", + "version": "v1.15.1", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "594ab862396c16ead000de0c3c38f4a5cbe1938d" + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/594ab862396c16ead000de0c3c38f4a5cbe1938d", - "reference": "594ab862396c16ead000de0c3c38f4a5cbe1938d", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc", "shasum": "" }, "require": { @@ -4184,7 +4152,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v1.15.0" + "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" }, "funding": [ { @@ -4200,7 +4168,7 @@ "type": "github" } ], - "time": "2022-12-20T19:00:15+00:00" + "time": "2023-02-08T01:06:31+00:00" }, { "name": "nyholm/psr7", @@ -4423,38 +4391,44 @@ }, { "name": "php-http/discovery", - "version": "1.14.3", + "version": "1.15.2", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735" + "reference": "5cc428320191ac1d0b6520034c2dc0698628ced5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/31d8ee46d0215108df16a8527c7438e96a4d7735", - "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735", + "url": "https://api.github.com/repos/php-http/discovery/zipball/5cc428320191ac1d0b6520034c2dc0698628ced5", + "reference": "5cc428320191ac1d0b6520034c2dc0698628ced5", "shasum": "" }, "require": { + "composer-plugin-api": "^1.0|^2.0", "php": "^7.1 || ^8.0" }, "conflict": { "nyholm/psr7": "<1.0" }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "*", + "psr/http-factory-implementation": "*", + "psr/http-message-implementation": "*" + }, "require-dev": { + "composer/composer": "^1.0.2|^2.0", "graham-campbell/phpspec-skip-example-extension": "^5.0", "php-http/httplug": "^1.0 || ^2.0", "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1" + "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", + "symfony/phpunit-bridge": "^6.2" }, - "suggest": { - "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories" - }, - "type": "library", + "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } + "class": "Http\\Discovery\\Composer\\Plugin", + "plugin-optional": true }, "autoload": { "psr-4": { @@ -4471,7 +4445,7 @@ "email": "mark.sagikazar@gmail.com" } ], - "description": "Finds installed HTTPlug implementations and PSR-7 message factories", + "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", "homepage": "http://php-http.org", "keywords": [ "adapter", @@ -4480,13 +4454,14 @@ "factory", "http", "message", + "psr17", "psr7" ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.14.3" + "source": "https://github.com/php-http/discovery/tree/1.15.2" }, - "time": "2022-07-11T14:04:40+00:00" + "time": "2023-02-11T08:28:41+00:00" }, { "name": "php-http/httplug", @@ -4737,24 +4712,24 @@ }, { "name": "phpoption/phpoption", - "version": "1.9.0", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "dc5ff11e274a90cc1c743f66c9ad700ce50db9ab" + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dc5ff11e274a90cc1c743f66c9ad700ce50db9ab", - "reference": "dc5ff11e274a90cc1c743f66c9ad700ce50db9ab", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dd3a383e599f49777d8b628dadbb90cae435b87e", + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8", - "phpunit/phpunit": "^8.5.28 || ^9.5.21" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" }, "type": "library", "extra": { @@ -4796,7 +4771,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.0" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.1" }, "funding": [ { @@ -4808,7 +4783,7 @@ "type": "tidelift" } ], - "time": "2022-07-30T15:51:26+00:00" + "time": "2023-02-25T19:38:58+00:00" }, { "name": "pragmarx/google2fa", @@ -6323,20 +6298,20 @@ }, { "name": "shalvah/upgrader", - "version": "0.3.0", + "version": "0.3.1", "source": { "type": "git", "url": "https://github.com/shalvah/upgrader.git", - "reference": "2a2b1452bd4a1484784deb2af49fb5e1abbcf420" + "reference": "c7f1cca8be5cd0114cd816d8bfff9c80565f7390" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shalvah/upgrader/zipball/2a2b1452bd4a1484784deb2af49fb5e1abbcf420", - "reference": "2a2b1452bd4a1484784deb2af49fb5e1abbcf420", + "url": "https://api.github.com/repos/shalvah/upgrader/zipball/c7f1cca8be5cd0114cd816d8bfff9c80565f7390", + "reference": "c7f1cca8be5cd0114cd816d8bfff9c80565f7390", "shasum": "" }, "require": { - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "nikic/php-parser": "^4.13", "php": ">=8.0" }, @@ -6369,7 +6344,7 @@ ], "support": { "issues": "https://github.com/shalvah/upgrader/issues", - "source": "https://github.com/shalvah/upgrader/tree/0.3.0" + "source": "https://github.com/shalvah/upgrader/tree/0.3.1" }, "funding": [ { @@ -6377,7 +6352,7 @@ "type": "patreon" } ], - "time": "2022-09-10T02:18:15+00:00" + "time": "2023-02-06T01:20:37+00:00" }, { "name": "socialiteproviders/facebook", @@ -6865,20 +6840,20 @@ }, { "name": "spomky-labs/pki-framework", - "version": "1.0.1", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/Spomky-Labs/pki-framework.git", - "reference": "969f3554c49ba7ed6fa603576f1f205e7d66a00c" + "reference": "d3ba688bf40e7c6e0dabf065ee18fc210734e760" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Spomky-Labs/pki-framework/zipball/969f3554c49ba7ed6fa603576f1f205e7d66a00c", - "reference": "969f3554c49ba7ed6fa603576f1f205e7d66a00c", + "url": "https://api.github.com/repos/Spomky-Labs/pki-framework/zipball/d3ba688bf40e7c6e0dabf065ee18fc210734e760", + "reference": "d3ba688bf40e7c6e0dabf065ee18fc210734e760", "shasum": "" }, "require": { - "brick/math": "^0.10", + "brick/math": "^0.10 || ^0.11", "ext-mbstring": "*", "php": ">=8.1" }, @@ -6893,9 +6868,11 @@ "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.1", "phpstan/phpstan-strict-rules": "^1.3", - "rector/rector": "0.15.0", + "phpunit/phpunit": "^10.0", + "rector/rector": "^0.15", "roave/security-advisories": "dev-latest", "symfony/phpunit-bridge": "^6.1", + "symfony/var-dumper": "^6.1", "symplify/easy-coding-standard": "^11.1", "thecodingmachine/phpstan-safe-rule": "^1.2" }, @@ -6919,6 +6896,11 @@ "name": "Joni Eskelinen", "email": "jonieske@gmail.com", "role": "Original developer" + }, + { + "name": "Florent Morselli", + "email": "florent.morselli@spomky-labs.com", + "role": "Spomky-Labs PKI Framework developer" } ], "description": "A PHP framework for managing Public Key Infrastructures. It comprises X.509 public key certificates, attribute certificates, certification requests and certification path validation.", @@ -6952,7 +6934,7 @@ ], "support": { "issues": "https://github.com/Spomky-Labs/pki-framework/issues", - "source": "https://github.com/Spomky-Labs/pki-framework/tree/1.0.1" + "source": "https://github.com/Spomky-Labs/pki-framework/tree/1.1.0" }, "funding": [ { @@ -6964,7 +6946,7 @@ "type": "patreon" } ], - "time": "2022-12-14T21:48:24+00:00" + "time": "2023-02-13T17:21:24+00:00" }, { "name": "symfony/console", @@ -10112,16 +10094,16 @@ }, { "name": "web-auth/cose-lib", - "version": "4.1.1", + "version": "4.1.2", "source": { "type": "git", "url": "https://github.com/web-auth/cose-lib.git", - "reference": "07c292bf546526cdc66dac5e52f7f1ba1315cf64" + "reference": "9774afaac376f97d0788223aa2d35ecfb7b105d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/web-auth/cose-lib/zipball/07c292bf546526cdc66dac5e52f7f1ba1315cf64", - "reference": "07c292bf546526cdc66dac5e52f7f1ba1315cf64", + "url": "https://api.github.com/repos/web-auth/cose-lib/zipball/9774afaac376f97d0788223aa2d35ecfb7b105d6", + "reference": "9774afaac376f97d0788223aa2d35ecfb7b105d6", "shasum": "" }, "require": { @@ -10178,7 +10160,7 @@ ], "support": { "issues": "https://github.com/web-auth/cose-lib/issues", - "source": "https://github.com/web-auth/cose-lib/tree/4.1.1" + "source": "https://github.com/web-auth/cose-lib/tree/4.1.2" }, "funding": [ { @@ -10190,7 +10172,7 @@ "type": "patreon" } ], - "time": "2023-02-01T20:30:34+00:00" + "time": "2023-02-21T07:14:12+00:00" }, { "name": "web-auth/metadata-service", @@ -10730,23 +10712,23 @@ }, { "name": "barryvdh/laravel-debugbar", - "version": "v3.8.0", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "eb01216141e62433178c52b0cbdb785b45bae871" + "reference": "aff3235fecb4104203b1e62c32239c56530eee32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/eb01216141e62433178c52b0cbdb785b45bae871", - "reference": "eb01216141e62433178c52b0cbdb785b45bae871", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/aff3235fecb4104203b1e62c32239c56530eee32", + "reference": "aff3235fecb4104203b1e62c32239c56530eee32", "shasum": "" }, "require": { "illuminate/routing": "^9|^10", "illuminate/session": "^9|^10", "illuminate/support": "^9|^10", - "maximebf/debugbar": "^1.17.2", + "maximebf/debugbar": "^1.18.2", "php": "^8.0", "symfony/finder": "^6" }, @@ -10759,7 +10741,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.6-dev" + "dev-master": "3.8-dev" }, "laravel": { "providers": [ @@ -10798,7 +10780,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.8.0" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.8.1" }, "funding": [ { @@ -10810,7 +10792,7 @@ "type": "github" } ], - "time": "2023-02-04T15:47:28+00:00" + "time": "2023-02-21T14:21:02+00:00" }, { "name": "barryvdh/laravel-ide-helper", @@ -10960,16 +10942,16 @@ }, { "name": "brianium/paratest", - "version": "v6.8.1", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "168c1cfdf79e5b19b57cb03060fc9a6a79c5f582" + "reference": "86ea5b223810d89294bc08de2c699dc34534e159" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/168c1cfdf79e5b19b57cb03060fc9a6a79c5f582", - "reference": "168c1cfdf79e5b19b57cb03060fc9a6a79c5f582", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/86ea5b223810d89294bc08de2c699dc34534e159", + "reference": "86ea5b223810d89294bc08de2c699dc34534e159", "shasum": "" }, "require": { @@ -10977,25 +10959,28 @@ "ext-pcre": "*", "ext-reflection": "*", "ext-simplexml": "*", - "fidry/cpu-core-counter": "^0.4.1", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", "jean85/pretty-package-versions": "^2.0.5", - "php": "^7.3 || ^8.0", - "phpunit/php-code-coverage": "^9.2.23", - "phpunit/php-file-iterator": "^3.0.6", - "phpunit/php-timer": "^5.0.3", - "phpunit/phpunit": "^9.5.28", - "sebastian/environment": "^5.1.4", - "symfony/console": "^5.4.16 || ^6.2.3", - "symfony/process": "^5.4.11 || ^6.2" + "php": "~8.1.0 || ~8.2.0", + "phpunit/php-code-coverage": "^10.0", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-timer": "^6.0", + "phpunit/phpunit": "^10.0.6", + "sebastian/environment": "^6.0", + "symfony/console": "^6.2.5", + "symfony/process": "^6.2.5" }, "require-dev": { - "doctrine/coding-standard": "^10.0.0", + "doctrine/coding-standard": "^11.1.0", "ext-pcov": "*", "ext-posix": "*", - "infection/infection": "^0.26.16", + "infection/infection": "^0.26.19", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpstan/phpstan-strict-rules": "^1.4", "squizlabs/php_codesniffer": "^3.7.1", - "symfony/filesystem": "^5.4.13 || ^6.2", - "vimeo/psalm": "^5.4" + "symfony/filesystem": "^6.2.5" }, "bin": [ "bin/paratest", @@ -11036,7 +11021,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v6.8.1" + "source": "https://github.com/paratestphp/paratest/tree/v7.0.6" }, "funding": [ { @@ -11048,7 +11033,7 @@ "type": "paypal" } ], - "time": "2023-01-17T10:08:49+00:00" + "time": "2023-02-13T09:41:18+00:00" }, { "name": "composer/class-map-generator", @@ -11546,16 +11531,16 @@ }, { "name": "doctrine/dbal", - "version": "3.5.3", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "88fa7e5189fd5ec6682477044264dc0ed4e3aa1e" + "reference": "85b98cb23c8af471a67abfe14485da696bcabc2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/88fa7e5189fd5ec6682477044264dc0ed4e3aa1e", - "reference": "88fa7e5189fd5ec6682477044264dc0ed4e3aa1e", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/85b98cb23c8af471a67abfe14485da696bcabc2e", + "reference": "85b98cb23c8af471a67abfe14485da696bcabc2e", "shasum": "" }, "require": { @@ -11568,11 +11553,12 @@ "psr/log": "^1|^2|^3" }, "require-dev": { - "doctrine/coding-standard": "11.0.0", + "doctrine/coding-standard": "11.1.0", + "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2022.3", - "phpstan/phpstan": "1.9.4", + "phpstan/phpstan": "1.9.14", "phpstan/phpstan-strict-rules": "^1.4", - "phpunit/phpunit": "9.5.27", + "phpunit/phpunit": "9.6.3", "psalm/plugin-phpunit": "0.18.4", "squizlabs/php_codesniffer": "3.7.1", "symfony/cache": "^5.4|^6.0", @@ -11637,7 +11623,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.5.3" + "source": "https://github.com/doctrine/dbal/tree/3.6.0" }, "funding": [ { @@ -11653,7 +11639,7 @@ "type": "tidelift" } ], - "time": "2023-01-12T10:21:44+00:00" + "time": "2023-02-07T22:52:03+00:00" }, { "name": "doctrine/deprecations", @@ -11789,76 +11775,6 @@ ], "time": "2022-10-12T20:59:15+00:00" }, - { - "name": "doctrine/instantiator", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "require-dev": { - "doctrine/coding-standard": "^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-12-30T00:23:10+00:00" - }, { "name": "felixfbecker/advanced-json-rpc", "version": "v3.2.1", @@ -11962,16 +11878,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "0.4.1", + "version": "0.5.1", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" + "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", - "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", "shasum": "" }, "require": { @@ -12011,7 +11927,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" }, "funding": [ { @@ -12019,7 +11935,7 @@ "type": "github" } ], - "time": "2022-12-16T22:01:02+00:00" + "time": "2022-12-24T12:35:10+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -12074,16 +11990,16 @@ }, { "name": "laravel/pint", - "version": "v1.4.1", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "80ddf23a5d97825e79bb1018eebb6f3f985d4fa8" + "reference": "e48e3fadd7863d6b7d03464f5c4f211a828b890f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/80ddf23a5d97825e79bb1018eebb6f3f985d4fa8", - "reference": "80ddf23a5d97825e79bb1018eebb6f3f985d4fa8", + "url": "https://api.github.com/repos/laravel/pint/zipball/e48e3fadd7863d6b7d03464f5c4f211a828b890f", + "reference": "e48e3fadd7863d6b7d03464f5c4f211a828b890f", "shasum": "" }, "require": { @@ -12091,16 +12007,16 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.0" + "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.14", - "illuminate/view": "^9.32.0", - "laravel-zero/framework": "^9.2.0", + "friendsofphp/php-cs-fixer": "^3.14.4", + "illuminate/view": "^10.0.0", + "laravel-zero/framework": "^10.0.0", "mockery/mockery": "^1.5.1", - "nunomaduro/larastan": "^2.2.0", - "nunomaduro/termwind": "^1.14.0", - "pestphp/pest": "^1.22.1" + "nunomaduro/larastan": "^2.4.0", + "nunomaduro/termwind": "^1.15.1", + "pestphp/pest": "^1.22.4" }, "bin": [ "builds/pint" @@ -12136,27 +12052,28 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2023-01-31T15:50:45+00:00" + "time": "2023-02-21T15:44:57+00:00" }, { "name": "laravel/sail", - "version": "v1.19.0", + "version": "v1.21.0", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "4f230634a3163f3442def6a4e6ffdb02b02e14d6" + "reference": "758a914fc4da41f3f6ca5522c85902181b228bd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/4f230634a3163f3442def6a4e6ffdb02b02e14d6", - "reference": "4f230634a3163f3442def6a4e6ffdb02b02e14d6", + "url": "https://api.github.com/repos/laravel/sail/zipball/758a914fc4da41f3f6ca5522c85902181b228bd1", + "reference": "758a914fc4da41f3f6ca5522c85902181b228bd1", "shasum": "" }, "require": { "illuminate/console": "^8.0|^9.0|^10.0", "illuminate/contracts": "^8.0|^9.0|^10.0", "illuminate/support": "^8.0|^9.0|^10.0", - "php": "^7.3|^8.0" + "php": "^7.3|^8.0", + "symfony/yaml": "^6.0" }, "bin": [ "bin/sail" @@ -12196,7 +12113,7 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2023-01-31T13:37:57+00:00" + "time": "2023-02-16T19:16:27+00:00" }, { "name": "maximebf/debugbar", @@ -12448,16 +12365,16 @@ }, { "name": "nunomaduro/larastan", - "version": "2.4.0", + "version": "2.4.1", "source": { "type": "git", "url": "https://github.com/nunomaduro/larastan.git", - "reference": "14f631348ead3e245651606931863b4f218d1f78" + "reference": "238fdbfba3aae133cdec73e99826c9b0232141f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/14f631348ead3e245651606931863b4f218d1f78", - "reference": "14f631348ead3e245651606931863b4f218d1f78", + "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/238fdbfba3aae133cdec73e99826c9b0232141f7", + "reference": "238fdbfba3aae133cdec73e99826c9b0232141f7", "shasum": "" }, "require": { @@ -12520,7 +12437,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/larastan/issues", - "source": "https://github.com/nunomaduro/larastan/tree/2.4.0" + "source": "https://github.com/nunomaduro/larastan/tree/2.4.1" }, "funding": [ { @@ -12540,40 +12457,36 @@ "type": "patreon" } ], - "time": "2023-01-11T11:57:44+00:00" + "time": "2023-02-05T12:19:17+00:00" }, { "name": "orchestra/testbench", - "version": "v7.21.0", + "version": "v8.0.4", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "3ee8d5689cb9d13d8d39785c5e93e4cc18731fc6" + "reference": "2709a4ed984e1c9d3224510dbbd31b5c8763abd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/3ee8d5689cb9d13d8d39785c5e93e4cc18731fc6", - "reference": "3ee8d5689cb9d13d8d39785c5e93e4cc18731fc6", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/2709a4ed984e1c9d3224510dbbd31b5c8763abd9", + "reference": "2709a4ed984e1c9d3224510dbbd31b5c8763abd9", "shasum": "" }, "require": { + "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.21", - "laravel/framework": "^9.50.2", + "laravel/framework": ">=10.1.5 <10.2.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.21", - "php": "^8.0", - "phpunit/phpunit": "^9.5.10", - "spatie/laravel-ray": "^1.28", - "symfony/process": "^6.0.9", - "symfony/yaml": "^6.0.9", + "orchestra/testbench-core": ">=8.0.2 <8.1.0", + "php": "^8.1", + "phpunit/phpunit": "^9.6 || ^10.0.7", + "spatie/laravel-ray": "^1.32", + "symfony/process": "^6.2", + "symfony/yaml": "^6.2", "vlucas/phpdotenv": "^5.4.1" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "7.0-dev" - } - }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -12597,50 +12510,51 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v7.21.0" + "source": "https://github.com/orchestral/testbench/tree/v8.0.4" }, - "time": "2023-02-03T02:10:41+00:00" + "time": "2023-02-24T10:25:11+00:00" }, { "name": "orchestra/testbench-core", - "version": "v7.21.0", + "version": "v8.0.3", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "07d48ce0fd781626e809e1a7591b75a89e6a2911" + "reference": "516f1eaa468f447715eee503e59531181ab9552c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/07d48ce0fd781626e809e1a7591b75a89e6a2911", - "reference": "07d48ce0fd781626e809e1a7591b75a89e6a2911", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/516f1eaa468f447715eee503e59531181ab9552c", + "reference": "516f1eaa468f447715eee503e59531181ab9552c", "shasum": "" }, "require": { - "php": "^8.0" + "composer-runtime-api": "^2.2", + "php": "^8.1" }, "require-dev": { "fakerphp/faker": "^1.21", - "laravel/framework": "^9.50.2", - "laravel/pint": "^1.4", + "laravel/framework": "^10.1.4", + "laravel/pint": "^1.6", "mockery/mockery": "^1.5.1", - "orchestra/canvas": "^7.0", - "phpstan/phpstan": "^1.9.14", - "phpunit/phpunit": "^9.5.10", - "spatie/laravel-ray": "^1.28", - "symfony/process": "^6.0.9", - "symfony/yaml": "^6.0.9", + "orchestra/canvas": "^8.0", + "phpstan/phpstan": "^1.10.1", + "phpunit/phpunit": "^9.6 || ^10.0.7", + "spatie/laravel-ray": "^1.32", + "symfony/process": "^6.2", + "symfony/yaml": "^6.2", "vlucas/phpdotenv": "^5.4.1" }, "suggest": { - "brianium/paratest": "Allow using parallel tresting (^6.4).", + "brianium/paratest": "Allow using parallel tresting (^6.4 || ^7.0).", "fakerphp/faker": "Allow using Faker for testing (^1.21).", - "laravel/framework": "Required for testing (^9.50.2).", + "laravel/framework": "Required for testing (^10.1.4).", "mockery/mockery": "Allow using Mockery for testing (^1.5.1).", - "nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^6.2).", - "orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^7.0).", - "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^7.0).", - "phpunit/phpunit": "Allow using PHPUnit for testing (^9.5.10).", - "symfony/yaml": "Required for CLI Commander (^6.0.9).", + "nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^6.4 || ^7.0).", + "orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^8.0).", + "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^8.0).", + "phpunit/phpunit": "Allow using PHPUnit for testing (^9.6 || ^10.0.7).", + "symfony/yaml": "Required for CLI Commander (^6.2).", "vlucas/phpdotenv": "Required for CLI Commander (^5.4.1)." }, "bin": [ @@ -12649,7 +12563,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "9.0-dev" } }, "autoload": { @@ -12685,7 +12599,7 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2023-02-03T02:00:17+00:00" + "time": "2023-02-24T00:36:23+00:00" }, { "name": "phar-io/manifest", @@ -13052,16 +12966,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.9.15", + "version": "1.10.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "642f5d78e4bfb9d9bebed898740ca82b53264d9b" + "reference": "5419375b5891add97dc74be71e6c1c34baaddf64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/642f5d78e4bfb9d9bebed898740ca82b53264d9b", - "reference": "642f5d78e4bfb9d9bebed898740ca82b53264d9b", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5419375b5891add97dc74be71e6c1c34baaddf64", + "reference": "5419375b5891add97dc74be71e6c1c34baaddf64", "shasum": "" }, "require": { @@ -13091,7 +13005,7 @@ ], "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.9.15" + "source": "https://github.com/phpstan/phpstan/tree/1.10.3" }, "funding": [ { @@ -13107,39 +13021,39 @@ "type": "tidelift" } ], - "time": "2023-02-07T07:49:27+00:00" + "time": "2023-02-25T14:47:13+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.24", + "version": "10.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "2cf940ebc6355a9d430462811b5aaa308b174bed" + "reference": "b9c21a93dd8c8eed79879374884ee733259475cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2cf940ebc6355a9d430462811b5aaa308b174bed", - "reference": "2cf940ebc6355a9d430462811b5aaa308b174bed", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b9c21a93dd8c8eed79879374884ee733259475cc", + "reference": "b9c21a93dd8c8eed79879374884ee733259475cc", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.14", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", + "nikic/php-parser": "^4.15", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-text-template": "^3.0", + "sebastian/code-unit-reverse-lookup": "^3.0", + "sebastian/complexity": "^3.0", + "sebastian/environment": "^6.0", + "sebastian/lines-of-code": "^2.0", + "sebastian/version": "^4.0", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-pcov": "*", @@ -13148,7 +13062,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "10.0-dev" } }, "autoload": { @@ -13176,7 +13090,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.24" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.0.1" }, "funding": [ { @@ -13184,32 +13098,32 @@ "type": "github" } ], - "time": "2023-01-26T08:26:55+00:00" + "time": "2023-02-25T05:35:03+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "3.0.6", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/fd9329ab3368f59fe1fe808a189c51086bd4b6bd", + "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -13236,7 +13150,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.1" }, "funding": [ { @@ -13244,28 +13158,28 @@ "type": "github" } ], - "time": "2021-12-02T12:48:52+00:00" + "time": "2023-02-10T16:53:14+00:00" }, { "name": "phpunit/php-invoker", - "version": "3.1.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-pcntl": "*" @@ -13273,7 +13187,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -13299,7 +13213,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" }, "funding": [ { @@ -13307,32 +13221,32 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2023-02-03T06:56:09+00:00" }, { "name": "phpunit/php-text-template", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/9f3d3709577a527025f55bcf0f7ab8052c8bb37d", + "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -13358,7 +13272,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.0" }, "funding": [ { @@ -13366,32 +13280,32 @@ "type": "github" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2023-02-03T06:56:46+00:00" }, { "name": "phpunit/php-timer", - "version": "5.0.3", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -13417,7 +13331,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" }, "funding": [ { @@ -13425,24 +13339,23 @@ "type": "github" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2023-02-03T06:57:52+00:00" }, { "name": "phpunit/phpunit", - "version": "9.6.3", + "version": "10.0.12", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "e7b1615e3e887d6c719121c6d4a44b0ab9645555" + "reference": "87d5cfdb4ecf440fb9f08b636b1152be433fc6f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e7b1615e3e887d6c719121c6d4a44b0ab9645555", - "reference": "e7b1615e3e887d6c719121c6d4a44b0ab9645555", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/87d5cfdb4ecf440fb9f08b636b1152be433fc6f1", + "reference": "87d5cfdb4ecf440fb9f08b636b1152be433fc6f1", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -13452,27 +13365,26 @@ "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.13", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.0", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-invoker": "^4.0", + "phpunit/php-text-template": "^3.0", + "phpunit/php-timer": "^6.0", + "sebastian/cli-parser": "^2.0", + "sebastian/code-unit": "^2.0", + "sebastian/comparator": "^5.0", + "sebastian/diff": "^5.0", + "sebastian/environment": "^6.0", + "sebastian/exporter": "^5.0", + "sebastian/global-state": "^6.0", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" }, "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" + "ext-soap": "*" }, "bin": [ "phpunit" @@ -13480,7 +13392,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.6-dev" + "dev-main": "10.0-dev" } }, "autoload": { @@ -13511,7 +13423,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.3" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.12" }, "funding": [ { @@ -13527,7 +13439,7 @@ "type": "tidelift" } ], - "time": "2023-02-04T13:37:15+00:00" + "time": "2023-02-25T06:05:15+00:00" }, { "name": "pimple/pimple", @@ -13584,33 +13496,35 @@ }, { "name": "psalm/plugin-laravel", - "version": "v2.6.0", + "version": "v2.7.1", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-laravel.git", - "reference": "7f0d2fd5509b0776e3ed58cc7aa1c00c574f43cd" + "reference": "a186913185bab419663bc97c7b85cf4ca86cae3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/7f0d2fd5509b0776e3ed58cc7aa1c00c574f43cd", - "reference": "7f0d2fd5509b0776e3ed58cc7aa1c00c574f43cd", + "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/a186913185bab419663bc97c7b85cf4ca86cae3e", + "reference": "a186913185bab419663bc97c7b85cf4ca86cae3e", "shasum": "" }, "require": { - "barryvdh/laravel-ide-helper": "^2.12", + "barryvdh/laravel-ide-helper": "^2.13", "ext-simplexml": "*", - "illuminate/config": "^9.2", - "illuminate/container": "^9.2", - "illuminate/contracts": "^9.2", - "illuminate/database": "^9.2", - "illuminate/events": "^9.2", - "illuminate/http": "^9.2", - "illuminate/routing": "^9.2", - "illuminate/support": "^9.2", - "illuminate/view": "^9.2", - "orchestra/testbench": "^7.1", + "illuminate/config": "^9.48 || ^10.0", + "illuminate/container": "^9.48 || ^10.0", + "illuminate/contracts": "^9.48 || ^10.0", + "illuminate/database": "^9.48 || ^10.0", + "illuminate/events": "^9.48 || ^10.0", + "illuminate/http": "^9.48 || ^10.0", + "illuminate/routing": "^9.48 || ^10.0", + "illuminate/support": "^9.48 || ^10.0", + "illuminate/view": "^9.48 || ^10.0", + "nikic/php-parser": "^4.13", + "orchestra/testbench": "^7.19 || ^8.0", "php": "^8.0.2", - "vimeo/psalm": "^4.30 || ^5.0.0-rc1" + "symfony/console": "^6.0", + "vimeo/psalm": "^4.30 || ^5.1" }, "require-dev": { "codeception/codeception": "^5.0", @@ -13618,7 +13532,7 @@ "codeception/module-cli": "^2.0", "codeception/module-filesystem": "^3.0", "codeception/module-phpbrowser": "^3.0", - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^9.6 || ^10.0", "ramsey/collection": "^1.3", "slevomat/coding-standard": "^8.8", "squizlabs/php_codesniffer": "*", @@ -13649,9 +13563,9 @@ "homepage": "https://github.com/psalm/psalm-plugin-laravel", "support": { "issues": "https://github.com/psalm/psalm-plugin-laravel/issues", - "source": "https://github.com/psalm/psalm-plugin-laravel/tree/v2.6.0" + "source": "https://github.com/psalm/psalm-plugin-laravel/tree/v2.7.1" }, - "time": "2023-01-31T20:53:41+00:00" + "time": "2023-02-14T16:30:12+00:00" }, { "name": "psr/cache", @@ -13708,12 +13622,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "90538aab13dced1209eb1b30e169308fea0fd783" + "reference": "6bd8aa4cc5a5871008d89e503ac4ae7b69b5ac33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/90538aab13dced1209eb1b30e169308fea0fd783", - "reference": "90538aab13dced1209eb1b30e169308fea0fd783", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/6bd8aa4cc5a5871008d89e503ac4ae7b69b5ac33", + "reference": "6bd8aa4cc5a5871008d89e503ac4ae7b69b5ac33", "shasum": "" }, "conflict": { @@ -14285,32 +14199,32 @@ "type": "tidelift" } ], - "time": "2023-02-04T01:32:15+00:00" + "time": "2023-02-24T17:04:25+00:00" }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -14333,7 +14247,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" }, "funding": [ { @@ -14341,32 +14255,32 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2023-02-03T06:58:15+00:00" }, { "name": "sebastian/code-unit", - "version": "1.0.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -14389,7 +14303,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" }, "funding": [ { @@ -14397,32 +14311,32 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2023-02-03T06:58:43+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -14444,7 +14358,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" }, "funding": [ { @@ -14452,34 +14366,36 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2023-02-03T06:59:15+00:00" }, { "name": "sebastian/comparator", - "version": "4.0.8", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/72f01e6586e0caf6af81297897bd112eb7e9627c", + "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -14518,7 +14434,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.0" }, "funding": [ { @@ -14526,33 +14442,33 @@ "type": "github" } ], - "time": "2022-09-14T12:41:17+00:00" + "time": "2023-02-03T07:07:16+00:00" }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/e67d240970c9dc7ea7b2123a6d520e334dd61dc6", + "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -14575,7 +14491,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/3.0.0" }, "funding": [ { @@ -14583,33 +14499,33 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-02-03T06:59:47+00:00" }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "70dd1b20bc198da394ad542e988381b44e64e39f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/70dd1b20bc198da394ad542e988381b44e64e39f", + "reference": "70dd1b20bc198da394ad542e988381b44e64e39f", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^10.0", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -14641,7 +14557,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.0" }, "funding": [ { @@ -14649,27 +14565,27 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2023-02-03T07:00:31+00:00" }, { "name": "sebastian/environment", - "version": "5.1.5", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/b6f3694c6386c7959915a0037652e0c40f6f69cc", + "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-posix": "*" @@ -14677,7 +14593,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -14696,7 +14612,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -14704,7 +14620,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + "source": "https://github.com/sebastianbergmann/environment/tree/6.0.0" }, "funding": [ { @@ -14712,34 +14628,34 @@ "type": "github" } ], - "time": "2023-02-03T06:03:51+00:00" + "time": "2023-02-03T07:03:04+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", + "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -14781,7 +14697,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/exporter/tree/5.0.0" }, "funding": [ { @@ -14789,38 +14705,35 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2023-02-03T07:06:49+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.5", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + "reference": "aab257c712de87b90194febd52e4d184551c2d44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/aab257c712de87b90194febd52e4d184551c2d44", + "reference": "aab257c712de87b90194febd52e4d184551c2d44", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -14845,7 +14758,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.0" }, "funding": [ { @@ -14853,33 +14766,33 @@ "type": "github" } ], - "time": "2022-02-14T08:28:10+00:00" + "time": "2023-02-03T07:07:38+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/17c4d940ecafb3d15d2cf916f4108f664e28b130", + "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -14902,7 +14815,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.0" }, "funding": [ { @@ -14910,34 +14823,34 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-02-03T07:08:02+00:00" }, { "name": "sebastian/object-enumerator", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -14959,7 +14872,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" }, "funding": [ { @@ -14967,32 +14880,32 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2023-02-03T07:08:32+00:00" }, { "name": "sebastian/object-reflector", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -15014,7 +14927,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" }, "funding": [ { @@ -15022,32 +14935,32 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-02-03T07:06:18+00:00" }, { "name": "sebastian/recursion-context", - "version": "4.0.5", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -15077,7 +14990,7 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" }, "funding": [ { @@ -15085,87 +14998,32 @@ "type": "github" } ], - "time": "2023-02-03T06:07:39+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2023-02-03T07:05:40+00:00" }, { "name": "sebastian/type", - "version": "3.2.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -15188,7 +15046,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" }, "funding": [ { @@ -15196,29 +15054,29 @@ "type": "github" } ], - "time": "2023-02-03T06:13:03+00:00" + "time": "2023-02-03T07:10:45+00:00" }, { "name": "sebastian/version", - "version": "3.0.2", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -15241,7 +15099,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" }, "funding": [ { @@ -15249,30 +15107,29 @@ "type": "github" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2023-02-07T11:34:05+00:00" }, { "name": "spatie/array-to-xml", - "version": "2.17.1", + "version": "3.1.5", "source": { "type": "git", "url": "https://github.com/spatie/array-to-xml.git", - "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46" + "reference": "13f76acef5362d15c71ae1ac6350cc3df5e25e43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", - "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/13f76acef5362d15c71ae1ac6350cc3df5e25e43", + "reference": "13f76acef5362d15c71ae1ac6350cc3df5e25e43", "shasum": "" }, "require": { "ext-dom": "*", - "php": "^7.4|^8.0" + "php": "^8.0" }, "require-dev": { "mockery/mockery": "^1.2", "pestphp/pest": "^1.21", - "phpunit/phpunit": "^9.0", "spatie/pest-plugin-snapshots": "^1.1" }, "type": "library", @@ -15301,7 +15158,7 @@ "xml" ], "support": { - "source": "https://github.com/spatie/array-to-xml/tree/2.17.1" + "source": "https://github.com/spatie/array-to-xml/tree/3.1.5" }, "funding": [ { @@ -15313,20 +15170,20 @@ "type": "github" } ], - "time": "2022-12-26T08:22:07+00:00" + "time": "2022-12-24T13:43:51+00:00" }, { "name": "spatie/backtrace", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b" + "reference": "7b34fee6c1ad45f8ee0498d17cd8ea9a076402c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", - "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/7b34fee6c1ad45f8ee0498d17cd8ea9a076402c1", + "reference": "7b34fee6c1ad45f8ee0498d17cd8ea9a076402c1", "shasum": "" }, "require": { @@ -15362,8 +15219,7 @@ "spatie" ], "support": { - "issues": "https://github.com/spatie/backtrace/issues", - "source": "https://github.com/spatie/backtrace/tree/1.2.1" + "source": "https://github.com/spatie/backtrace/tree/1.2.2" }, "funding": [ { @@ -15375,7 +15231,7 @@ "type": "other" } ], - "time": "2021-11-09T10:57:15+00:00" + "time": "2023-02-21T08:29:12+00:00" }, { "name": "spatie/flare-client-php", @@ -15522,41 +15378,37 @@ }, { "name": "spatie/laravel-ignition", - "version": "1.6.4", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "1a2b4bd3d48c72526c0ba417687e5c56b5cf49bc" + "reference": "70c0e2a22c5c4b691a34db8c98bd6d695660a97a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/1a2b4bd3d48c72526c0ba417687e5c56b5cf49bc", - "reference": "1a2b4bd3d48c72526c0ba417687e5c56b5cf49bc", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/70c0e2a22c5c4b691a34db8c98bd6d695660a97a", + "reference": "70c0e2a22c5c4b691a34db8c98bd6d695660a97a", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "illuminate/support": "^8.77|^9.27", - "monolog/monolog": "^2.3", - "php": "^8.0", - "spatie/flare-client-php": "^1.0.1", - "spatie/ignition": "^1.4.1", - "symfony/console": "^5.0|^6.0", - "symfony/var-dumper": "^5.0|^6.0" + "illuminate/support": "^10.0", + "php": "^8.1", + "spatie/flare-client-php": "^1.3.5", + "spatie/ignition": "^1.4.3", + "symfony/console": "^6.2.3", + "symfony/var-dumper": "^6.2.3" }, "require-dev": { - "filp/whoops": "^2.14", - "livewire/livewire": "^2.8|dev-develop", - "mockery/mockery": "^1.4", - "nunomaduro/larastan": "^1.0", - "orchestra/testbench": "^6.23|^7.0", - "pestphp/pest": "^1.20", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "spatie/laravel-ray": "^1.27" + "livewire/livewire": "^2.11", + "mockery/mockery": "^1.5.1", + "orchestra/testbench": "^8.0", + "pestphp/pest": "^1.22.3", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan-deprecation-rules": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.3" }, "type": "library", "extra": { @@ -15567,6 +15419,9 @@ "aliases": { "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare" } + }, + "branch-alias": { + "dev-main": "2.0-dev" } }, "autoload": { @@ -15608,7 +15463,7 @@ "type": "github" } ], - "time": "2023-01-03T19:28:04+00:00" + "time": "2023-01-24T07:20:39+00:00" }, { "name": "spatie/laravel-ray", @@ -15747,16 +15602,16 @@ }, { "name": "spatie/ray", - "version": "1.36.0", + "version": "1.36.2", "source": { "type": "git", "url": "https://github.com/spatie/ray.git", - "reference": "4a4def8cda4806218341b8204c98375aa8c34323" + "reference": "71dfde21900447ab37698fc07ff28b7f1e1822b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ray/zipball/4a4def8cda4806218341b8204c98375aa8c34323", - "reference": "4a4def8cda4806218341b8204c98375aa8c34323", + "url": "https://api.github.com/repos/spatie/ray/zipball/71dfde21900447ab37698fc07ff28b7f1e1822b8", + "reference": "71dfde21900447ab37698fc07ff28b7f1e1822b8", "shasum": "" }, "require": { @@ -15771,7 +15626,8 @@ }, "require-dev": { "illuminate/support": "6.x|^8.18|^9.0", - "nesbot/carbon": "^2.43", + "nesbot/carbon": "^2.63", + "pestphp/pest": "^1.22", "phpstan/phpstan": "^0.12.92", "phpunit/phpunit": "^9.5", "spatie/phpunit-snapshot-assertions": "^4.2", @@ -15806,7 +15662,7 @@ ], "support": { "issues": "https://github.com/spatie/ray/issues", - "source": "https://github.com/spatie/ray/tree/1.36.0" + "source": "https://github.com/spatie/ray/tree/1.36.2" }, "funding": [ { @@ -15818,7 +15674,7 @@ "type": "other" } ], - "time": "2022-08-11T14:04:18+00:00" + "time": "2023-02-10T09:24:13+00:00" }, { "name": "symfony/filesystem", @@ -16080,16 +15936,16 @@ }, { "name": "vimeo/psalm", - "version": "5.6.0", + "version": "5.7.7", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "e784128902dfe01d489c4123d69918a9f3c1eac5" + "reference": "e028ba46ba0d7f9a78bc3201c251e137383e145f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/e784128902dfe01d489c4123d69918a9f3c1eac5", - "reference": "e784128902dfe01d489c4123d69918a9f3c1eac5", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/e028ba46ba0d7f9a78bc3201c251e137383e145f", + "reference": "e028ba46ba0d7f9a78bc3201c251e137383e145f", "shasum": "" }, "require": { @@ -16108,12 +15964,12 @@ "ext-tokenizer": "*", "felixfbecker/advanced-json-rpc": "^3.1", "felixfbecker/language-server-protocol": "^1.5.2", - "fidry/cpu-core-counter": "^0.4.0", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", "nikic/php-parser": "^4.13", "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0", "sebastian/diff": "^4.0 || ^5.0", - "spatie/array-to-xml": "^2.17.0", + "spatie/array-to-xml": "^2.17.0 || ^3.0", "symfony/console": "^4.1.6 || ^5.0 || ^6.0", "symfony/filesystem": "^5.4 || ^6.0" }, @@ -16122,13 +15978,13 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.4", - "brianium/paratest": "^6.0", + "brianium/paratest": "^6.9", "ext-curl": "*", "mockery/mockery": "^1.5", "nunomaduro/mock-final-classes": "^1.1", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpdoc-parser": "^1.6", - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^9.6", "psalm/plugin-mockery": "^1.1", "psalm/plugin-phpunit": "^0.18", "slevomat/coding-standard": "^8.4", @@ -16174,26 +16030,27 @@ "keywords": [ "code", "inspection", - "php" + "php", + "static analysis" ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/5.6.0" + "source": "https://github.com/vimeo/psalm/tree/5.7.7" }, - "time": "2023-01-23T20:32:47+00:00" + "time": "2023-02-25T01:05:07+00:00" }, { "name": "zbateson/mail-mime-parser", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/zbateson/mail-mime-parser.git", - "reference": "d59e0c5eeb1442fca94bcb3b9d3c6be66318a500" + "reference": "20b3e48eb799537683780bc8782fbbe9bc25934a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/d59e0c5eeb1442fca94bcb3b9d3c6be66318a500", - "reference": "d59e0c5eeb1442fca94bcb3b9d3c6be66318a500", + "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/20b3e48eb799537683780bc8782fbbe9bc25934a", + "reference": "20b3e48eb799537683780bc8782fbbe9bc25934a", "shasum": "" }, "require": { @@ -16255,7 +16112,7 @@ "type": "github" } ], - "time": "2023-01-30T19:04:55+00:00" + "time": "2023-02-14T22:58:03+00:00" }, { "name": "zbateson/mb-wrapper", @@ -16391,7 +16248,7 @@ } ], "aliases": [], - "minimum-stability": "dev", + "minimum-stability": "stable", "stability-flags": { "roave/security-advisories": 20 }, diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 629987fa1..055a7a9ea 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -16,8 +16,6 @@ class UserFactory extends Factory /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/phpunit.xml b/phpunit.xml index 65851c9e9..bae3b1b10 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -10,7 +10,7 @@ ./tests/Unit - + ./app diff --git a/tests/Helpers/GuzzleMock.php b/tests/Helpers/GuzzleMock.php index 402438834..8cf078dec 100644 --- a/tests/Helpers/GuzzleMock.php +++ b/tests/Helpers/GuzzleMock.php @@ -35,8 +35,6 @@ class GuzzleMock extends Assert /** * Get current client. - * - * @return Client */ public function getClient(): Client { diff --git a/tests/TestCase.php b/tests/TestCase.php index e525c13e7..e0cc57b53 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -16,8 +16,6 @@ abstract class TestCase extends BaseTestCase /** * Create an User in an account. - * - * @return User */ public function createUser($abilities = ['read', 'write']): User { @@ -28,8 +26,6 @@ abstract class TestCase extends BaseTestCase /** * Create an User with the administrator privilege in an account. - * - * @return User */ public function createAdministrator(): User { @@ -38,8 +34,6 @@ abstract class TestCase extends BaseTestCase /** * Create an account. - * - * @return Account */ public function createAccount(): Account { @@ -48,9 +42,6 @@ abstract class TestCase extends BaseTestCase /** * Create a vault. - * - * @param Account $account - * @return Vault */ public function createVault(Account $account): Vault { @@ -63,7 +54,6 @@ abstract class TestCase extends BaseTestCase * Create a vault. * * @param Account $account - * @return Vault */ public function createVaultUser(User $user, int $permission = Vault::PERMISSION_VIEW): Vault { @@ -74,8 +64,6 @@ abstract class TestCase extends BaseTestCase /** * Set the user with the given permission in the given vault. - * - * @return Vault */ public function setPermissionInVault(User $user, int $permission, Vault $vault): Vault { @@ -92,11 +80,6 @@ abstract class TestCase extends BaseTestCase /** * Call protected/private method of a class. - * - * @param object &$object - * @param string $methodName - * @param array $parameters - * @return mixed */ #[ReturnTypeWillChange] public function invokePrivateMethod(object &$object, string $methodName, array $parameters = []): mixed @@ -110,11 +93,6 @@ abstract class TestCase extends BaseTestCase /** * Set protected/private property of a class. - * - * @param object &$object - * @param string $propertyName - * @param mixed $value - * @return void */ public function setPrivateValue(object &$object, string $propertyName, mixed $value): void { diff --git a/tests/Traits/Asserts.php b/tests/Traits/Asserts.php index 1e15bd538..47ea6993f 100644 --- a/tests/Traits/Asserts.php +++ b/tests/Traits/Asserts.php @@ -8,8 +8,6 @@ trait Asserts { /** * Test that the response contains a not found notification. - * - * @param TestResponse $response */ public function expectNotFound(TestResponse $response) { @@ -25,8 +23,6 @@ trait Asserts /** * Test that the response contains a not authorized notification. - * - * @param TestResponse $response */ public function expectNotAuthorized(TestResponse $response) { @@ -43,7 +39,6 @@ trait Asserts /** * Test that the response contains a data error notification. * - * @param TestResponse $response * @param string|array $message */ public function expectDataError(TestResponse $response, $message = '') @@ -61,7 +56,6 @@ trait Asserts /** * Test that the response contains an invalid parameter notification. * - * @param TestResponse $response * @param string|array $message */ public function expectInvalidParameter(TestResponse $response, $message = '')