diff --git a/app/Conductors/ArticleConductor.php b/app/Conductors/ArticleConductor.php index 217786c..2a1a0b5 100644 --- a/app/Conductors/ArticleConductor.php +++ b/app/Conductors/ArticleConductor.php @@ -39,7 +39,6 @@ class ArticleConductor extends Conductor * Run a scope query on the collection before anything else. * * @param Builder $builder The builder in use. - * @return void */ public function scope(Builder $builder): void { diff --git a/app/Conductors/Conductor.php b/app/Conductors/Conductor.php index cf46d61..f25d0a2 100644 --- a/app/Conductors/Conductor.php +++ b/app/Conductors/Conductor.php @@ -143,7 +143,6 @@ class Conductor * * @param Request $request The user request. * @param array|null $limitFields A list of fields to limit the filter request to. - * @return void */ private function filter(Request $request, array|null $limitFields = null): void { @@ -210,8 +209,6 @@ class Conductor /** * Apple the filter array to the collection. - * - * @return void */ final public function applyFilters(): void { @@ -503,7 +500,6 @@ class Conductor * @param Builder $query The custom query. * @param Request $request The request. * @param array|null $limitFields Limit the request to these fields. - * @return Builder */ public static function filterQuery(Builder $query, Request $request, array|null $limitFields = null): Builder { @@ -619,7 +615,6 @@ class Conductor * Sort the conductor collection. * * @param mixed $fields A field name or array of field names to sort. Supports prefix of +/- to change direction. - * @return void */ final public function sort(mixed $fields = null): void { @@ -698,7 +693,6 @@ class Conductor * * @param Model $model The model to append. * @param array $includes The list of includes to include. - * @return void */ final public function applyIncludes(Model $model, array $includes): void { @@ -718,7 +712,6 @@ class Conductor * Limit the returned fields in the conductor collection. * * @param array $fields An array of field names. - * @return void */ final public function limitFields(array $fields): void { @@ -733,7 +726,6 @@ class Conductor * @param string $rawFilter The raw filter string to parse. * @param array|null $limitFields The fields to allow in the filter string. * @param string $outerJoin The join for this filter group. - * @return void */ final public function appendFilterString(string $rawFilter, array|null $limitFields = null, string $outerJoin = 'OR'): void { @@ -847,7 +839,6 @@ class Conductor * @param string $operator The operator to append. * @param string $value The value to append. * @param string $join The join to append. - * @return void */ final public function appendFilter(string $field, string $operator, string $value, string $join = 'OR'): void { @@ -861,7 +852,6 @@ class Conductor * Run a scope query on the collection before anything else. * * @param Builder $builder The builder in use. - * @return void */ public function scope(Builder $builder): void { diff --git a/app/Conductors/EventConductor.php b/app/Conductors/EventConductor.php index 8c1ceaa..260b547 100644 --- a/app/Conductors/EventConductor.php +++ b/app/Conductors/EventConductor.php @@ -33,7 +33,6 @@ class EventConductor extends Conductor * Run a scope query on the collection before anything else. * * @param Builder $builder The builder in use. - * @return void */ public function scope(Builder $builder): void { diff --git a/app/Conductors/MediaConductor.php b/app/Conductors/MediaConductor.php index 15d48cb..25fd9ee 100644 --- a/app/Conductors/MediaConductor.php +++ b/app/Conductors/MediaConductor.php @@ -59,7 +59,6 @@ class MediaConductor extends Conductor * Run a scope query on the collection before anything else. * * @param Builder $builder The builder in use. - * @return void */ public function scope(Builder $builder): void { diff --git a/app/Console/Commands/MediaMigrate.php b/app/Console/Commands/MediaMigrate.php index 32156e6..99103b1 100644 --- a/app/Console/Commands/MediaMigrate.php +++ b/app/Console/Commands/MediaMigrate.php @@ -27,8 +27,6 @@ class MediaMigrate extends Command /** * Configure the command options. - * - * @return void */ protected function configure(): void { @@ -42,8 +40,6 @@ class MediaMigrate extends Command /** * Execute the console command. - * - * @return void */ public function handle(): void { diff --git a/app/Console/Commands/MediaRebuild.php b/app/Console/Commands/MediaRebuild.php index f37a755..a37db86 100644 --- a/app/Console/Commands/MediaRebuild.php +++ b/app/Console/Commands/MediaRebuild.php @@ -26,8 +26,6 @@ class MediaRebuild extends Command /** * Configure the command options. - * - * @return void */ protected function configure(): void { @@ -48,8 +46,6 @@ class MediaRebuild extends Command /** * Execute the console command. - * - * @return void */ public function handle(): void { diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 9169768..03e5175 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -11,7 +11,6 @@ class Kernel extends ConsoleKernel * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule The schedule. - * @return void */ protected function schedule(Schedule $schedule): void { @@ -20,8 +19,6 @@ class Kernel extends ConsoleKernel /** * Register the commands for the application. - * - * @return void */ protected function commands(): void { diff --git a/app/Enum/Enum.php b/app/Enum/Enum.php index 5596e01..a7b0993 100644 --- a/app/Enum/Enum.php +++ b/app/Enum/Enum.php @@ -57,8 +57,6 @@ class Enum /** * Returns a message from the enum subclass - * - * @return string */ public static function getMessage(int $messageIndex, string $defaultMessage = 'Unknown'): string { diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 72e8d38..b35c316 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -26,8 +26,6 @@ class Handler extends ExceptionHandler /** * Register the exception handling callbacks for the application. - * - * @return void */ public function register(): void { diff --git a/app/Http/Controllers/Api/ApiController.php b/app/Http/Controllers/Api/ApiController.php index 307864c..1c1678d 100644 --- a/app/Http/Controllers/Api/ApiController.php +++ b/app/Http/Controllers/Api/ApiController.php @@ -24,7 +24,6 @@ class ApiController extends Controller * @param array $data Response data. * @param integer $respondCode Response status code. * @param array $headers Response headers. - * @return \Illuminate\Http\JsonResponse */ public function respondJson(array $data, int $respondCode = HttpResponseCodes::HTTP_OK, array $headers = []): JsonResponse { @@ -35,7 +34,6 @@ class ApiController extends Controller * Return forbidden message * * @param string $message Response message. - * @return \Illuminate\Http\JsonResponse */ public function respondForbidden(string $message = 'You do not have permission to access the resource.'): JsonResponse { @@ -46,7 +44,6 @@ class ApiController extends Controller * Return forbidden message * * @param string $message Response message. - * @return \Illuminate\Http\JsonResponse */ public function respondNotFound(string $message = 'The resource was not found.'): JsonResponse { @@ -57,7 +54,6 @@ class ApiController extends Controller * Return too large message * * @param string $message Response message. - * @return \Illuminate\Http\JsonResponse */ public function respondTooLarge(string $message = 'The request entity is too large.'): JsonResponse { @@ -66,7 +62,6 @@ class ApiController extends Controller /** * Return no content - * @return \Illuminate\Http\JsonResponse */ public function respondNoContent(): JsonResponse { @@ -75,7 +70,6 @@ class ApiController extends Controller /** * Return created - * @return \Illuminate\Http\JsonResponse */ public function respondCreated(): JsonResponse { @@ -84,7 +78,6 @@ class ApiController extends Controller /** * Return accepted - * @return \Illuminate\Http\JsonResponse */ public function respondAccepted(): JsonResponse { @@ -96,7 +89,6 @@ class ApiController extends Controller * * @param string $message Error message. * @param integer $responseCode Resource code. - * @return \Illuminate\Http\JsonResponse */ public function respondError(string $message, int $responseCode = HttpResponseCodes::HTTP_UNPROCESSABLE_ENTITY): JsonResponse { @@ -110,7 +102,6 @@ class ApiController extends Controller * * @param array $errors Error messages. * @param integer $responseCode Resource code. - * @return \Illuminate\Http\JsonResponse */ public function respondWithErrors(array $errors, int $responseCode = HttpResponseCodes::HTTP_UNPROCESSABLE_ENTITY): JsonResponse { @@ -133,7 +124,6 @@ class ApiController extends Controller * * @param array|Model|Collection $data Resource data. * @param array $options Respond options. - * @return \Illuminate\Http\JsonResponse */ protected function respondAsResource( mixed $data, diff --git a/app/Http/Controllers/Api/ArticleController.php b/app/Http/Controllers/Api/ArticleController.php index b93c5a6..f612f4c 100644 --- a/app/Http/Controllers/Api/ArticleController.php +++ b/app/Http/Controllers/Api/ArticleController.php @@ -167,7 +167,6 @@ class ArticleController extends ApiController * * @param Request $request The user request. * @param Article $article The related model. - * @return JsonResponse * @throws BindingResolutionException * @throws MassAssignmentException */ @@ -216,7 +215,6 @@ class ArticleController extends ApiController * @param Request $request The user request. * @param Article $article The model. * @param Media $medium The attachment medium. - * @return JsonResponse * @throws BindingResolutionException */ public function deleteAttachment(Request $request, Article $article, Media $medium): JsonResponse diff --git a/app/Http/Controllers/Api/AttachmentController.php b/app/Http/Controllers/Api/AttachmentController.php index 6586734..0c2060a 100644 --- a/app/Http/Controllers/Api/AttachmentController.php +++ b/app/Http/Controllers/Api/AttachmentController.php @@ -29,7 +29,6 @@ class AttachmentController extends ApiController /** * Store a newly created resource in storage. * - * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function store(Request $request) @@ -40,7 +39,6 @@ class AttachmentController extends ApiController /** * Display the specified resource. * - * @param \App\Models\Attachment $attachment * @return \Illuminate\Http\Response */ public function show(Attachment $attachment) @@ -51,7 +49,6 @@ class AttachmentController extends ApiController /** * Show the form for editing the specified resource. * - * @param \App\Models\Attachment $attachment * @return \Illuminate\Http\Response */ public function edit(Attachment $attachment) @@ -62,8 +59,6 @@ class AttachmentController extends ApiController /** * Update the specified resource in storage. * - * @param \Illuminate\Http\Request $request - * @param \App\Models\Attachment $attachment * @return \Illuminate\Http\Response */ public function update(Request $request, Attachment $attachment) @@ -74,7 +69,6 @@ class AttachmentController extends ApiController /** * Remove the specified resource from storage. * - * @param \App\Models\Attachment $attachment * @return \Illuminate\Http\Response */ public function destroy(Attachment $attachment) diff --git a/app/Http/Controllers/Api/AuthController.php b/app/Http/Controllers/Api/AuthController.php index e6c60ab..3fab72d 100644 --- a/app/Http/Controllers/Api/AuthController.php +++ b/app/Http/Controllers/Api/AuthController.php @@ -31,7 +31,6 @@ class AuthController extends ApiController * Current User details * * @param Request $request Current request data. - * @return JsonResponse */ public function me(Request $request): JsonResponse { @@ -87,7 +86,6 @@ class AuthController extends ApiController * Logout current user * * @param Request $request Current request data. - * @return JsonResponse */ public function logout(Request $request): JsonResponse { diff --git a/app/Http/Controllers/Api/EventController.php b/app/Http/Controllers/Api/EventController.php index 523b63c..f057914 100644 --- a/app/Http/Controllers/Api/EventController.php +++ b/app/Http/Controllers/Api/EventController.php @@ -155,7 +155,6 @@ class EventController extends ApiController * * @param Request $request The user request. * @param Event $event The related model. - * @return JsonResponse */ public function updateAttachments(Request $request, Event $event): JsonResponse { @@ -203,7 +202,6 @@ class EventController extends ApiController * @param Request $request The user request. * @param Event $event The model. * @param Media $medium The attachment medium. - * @return JsonResponse */ public function deleteAttachment(Request $request, Event $event, Media $medium): JsonResponse { diff --git a/app/Http/Controllers/Api/UserController.php b/app/Http/Controllers/Api/UserController.php index e46a079..052ae26 100644 --- a/app/Http/Controllers/Api/UserController.php +++ b/app/Http/Controllers/Api/UserController.php @@ -145,7 +145,6 @@ class UserController extends ApiController * Register a new user * * @param \App\Http\Requests\UserRegisterRequest $request The register user request. - * @return \Illuminate\Http\Response */ public function register(UserRegisterRequest $request): JsonResponse { @@ -286,7 +285,6 @@ class UserController extends ApiController * Resend a new verify email * * @param \App\Http\Requests\UserResendVerifyEmailRequest $request The resend verify email request. - * @return \Illuminate\Http\Response */ public function resendVerifyEmail(UserResendVerifyEmailRequest $request): JsonResponse { @@ -340,7 +338,6 @@ class UserController extends ApiController * * @param Request $request The http request. * @param User $user The specified user. - * @return JsonResponse */ public function eventList(Request $request, User $user): JsonResponse { diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index ce91e84..76a7ff5 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -10,7 +10,6 @@ class Authenticate extends Middleware * Get the path the user should be redirected to when they are not authenticated. * * @param mixed $request Request. - * @return string|null */ protected function redirectTo(mixed $request): ?string { diff --git a/app/Http/Middleware/ForceJsonResponse.php b/app/Http/Middleware/ForceJsonResponse.php index efec056..cdfa47e 100644 --- a/app/Http/Middleware/ForceJsonResponse.php +++ b/app/Http/Middleware/ForceJsonResponse.php @@ -11,9 +11,7 @@ class ForceJsonResponse /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next - * @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse */ public function handle(Request $request, Closure $next): Response { diff --git a/app/Http/Middleware/LogRequest.php b/app/Http/Middleware/LogRequest.php index 6bce316..1d4347a 100644 --- a/app/Http/Middleware/LogRequest.php +++ b/app/Http/Middleware/LogRequest.php @@ -12,9 +12,7 @@ class LogRequest /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next - * @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse + * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next */ public function handle(Request $request, Closure $next): Response { diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 34029f7..5c4fba3 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -14,9 +14,8 @@ class RedirectIfAuthenticated * Handle an incoming request. * * @param Request $request Request. - * @param Closure(Request): (Response|RedirectResponse) $next Next. + * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next * @param string|null ...$guards Guards. - * @return Response|RedirectResponse */ public function handle(Request $request, Closure $next, string ...$guards): Response { diff --git a/app/Http/Middleware/UseSanctumGuard.php b/app/Http/Middleware/UseSanctumGuard.php index 3b00b9b..25979c2 100644 --- a/app/Http/Middleware/UseSanctumGuard.php +++ b/app/Http/Middleware/UseSanctumGuard.php @@ -12,9 +12,7 @@ class UseSanctumGuard /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next - * @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse + * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next */ public function handle(Request $request, Closure $next): Response { diff --git a/app/Http/Requests/BaseRequest.php b/app/Http/Requests/BaseRequest.php index 30f5992..be6c197 100644 --- a/app/Http/Requests/BaseRequest.php +++ b/app/Http/Requests/BaseRequest.php @@ -9,8 +9,6 @@ class BaseRequest extends FormRequest { /** * Determine if the user is authorized to make this request. - * - * @return boolean */ public function authorize(): bool { @@ -54,7 +52,6 @@ class BaseRequest extends FormRequest * * @param array $collection1 The first collection of rules. * @param array $collection2 The second collection of rules to merge. - * @return array */ private function mergeRules(array $collection1, array $collection2): array { diff --git a/app/Http/Requests/SubscriptionRequest.php b/app/Http/Requests/SubscriptionRequest.php index 7395fe8..387c14a 100644 --- a/app/Http/Requests/SubscriptionRequest.php +++ b/app/Http/Requests/SubscriptionRequest.php @@ -34,8 +34,6 @@ class SubscriptionRequest extends BaseRequest /** * Get the custom error messages. - * - * @return array */ public function messages(): array { diff --git a/app/Jobs/MoveMediaJob.php b/app/Jobs/MoveMediaJob.php index 9221cd7..9c33b57 100644 --- a/app/Jobs/MoveMediaJob.php +++ b/app/Jobs/MoveMediaJob.php @@ -48,8 +48,6 @@ class MoveMediaJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendEmailJob.php b/app/Jobs/SendEmailJob.php index 89d7d1f..dcbe010 100644 --- a/app/Jobs/SendEmailJob.php +++ b/app/Jobs/SendEmailJob.php @@ -47,8 +47,6 @@ class SendEmailJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/StoreUploadedFileJob.php b/app/Jobs/StoreUploadedFileJob.php index 632bab9..81862af 100644 --- a/app/Jobs/StoreUploadedFileJob.php +++ b/app/Jobs/StoreUploadedFileJob.php @@ -62,8 +62,6 @@ class StoreUploadedFileJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Mail/ChangeEmailVerify.php b/app/Mail/ChangeEmailVerify.php index c56da17..0365ee5 100644 --- a/app/Mail/ChangeEmailVerify.php +++ b/app/Mail/ChangeEmailVerify.php @@ -54,8 +54,6 @@ class ChangeEmailVerify extends Mailable /** * Get the message envelope. - * - * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope(): Envelope { @@ -66,8 +64,6 @@ class ChangeEmailVerify extends Mailable /** * Get the message content definition. - * - * @return \Illuminate\Mail\Mailables\Content */ public function content(): Content { diff --git a/app/Mail/ChangedEmail.php b/app/Mail/ChangedEmail.php index 7ef44fe..71dbe36 100644 --- a/app/Mail/ChangedEmail.php +++ b/app/Mail/ChangedEmail.php @@ -54,8 +54,6 @@ class ChangedEmail extends Mailable /** * Get the message envelope. - * - * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope(): Envelope { @@ -66,8 +64,6 @@ class ChangedEmail extends Mailable /** * Get the message content definition. - * - * @return \Illuminate\Mail\Mailables\Content */ public function content(): Content { diff --git a/app/Mail/ChangedPassword.php b/app/Mail/ChangedPassword.php index 40ce216..00451c9 100644 --- a/app/Mail/ChangedPassword.php +++ b/app/Mail/ChangedPassword.php @@ -36,8 +36,6 @@ class ChangedPassword extends Mailable /** * Get the message envelope. - * - * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope(): Envelope { @@ -48,8 +46,6 @@ class ChangedPassword extends Mailable /** * Get the message content definition. - * - * @return \Illuminate\Mail\Mailables\Content */ public function content(): Content { diff --git a/app/Mail/Contact.php b/app/Mail/Contact.php index 4c2f1da..cce5a36 100644 --- a/app/Mail/Contact.php +++ b/app/Mail/Contact.php @@ -53,8 +53,6 @@ class Contact extends Mailable /** * Get the message envelope. - * - * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope(): Envelope { @@ -65,8 +63,6 @@ class Contact extends Mailable /** * Get the message content definition. - * - * @return \Illuminate\Mail\Mailables\Content */ public function content(): Content { diff --git a/app/Mail/EmailVerify.php b/app/Mail/EmailVerify.php index 8683405..e8b8097 100644 --- a/app/Mail/EmailVerify.php +++ b/app/Mail/EmailVerify.php @@ -45,8 +45,6 @@ class EmailVerify extends Mailable /** * Get the message envelope. - * - * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope(): Envelope { @@ -57,8 +55,6 @@ class EmailVerify extends Mailable /** * Get the message content definition. - * - * @return \Illuminate\Mail\Mailables\Content */ public function content(): Content { diff --git a/app/Mail/ForgotPassword.php b/app/Mail/ForgotPassword.php index 43dbe45..52f5370 100644 --- a/app/Mail/ForgotPassword.php +++ b/app/Mail/ForgotPassword.php @@ -45,8 +45,6 @@ class ForgotPassword extends Mailable /** * Get the message envelope. - * - * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope(): Envelope { @@ -57,8 +55,6 @@ class ForgotPassword extends Mailable /** * Get the message content definition. - * - * @return \Illuminate\Mail\Mailables\Content */ public function content(): Content { diff --git a/app/Mail/SubscriptionConfirm.php b/app/Mail/SubscriptionConfirm.php index c4aaf50..6a534ad 100644 --- a/app/Mail/SubscriptionConfirm.php +++ b/app/Mail/SubscriptionConfirm.php @@ -36,8 +36,6 @@ class SubscriptionConfirm extends Mailable /** * Get the message envelope. - * - * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope(): Envelope { @@ -48,8 +46,6 @@ class SubscriptionConfirm extends Mailable /** * Get the message content definition. - * - * @return \Illuminate\Mail\Mailables\Content */ public function content(): Content { diff --git a/app/Mail/SubscriptionUnsubscribed.php b/app/Mail/SubscriptionUnsubscribed.php index faa865c..bef9bb4 100644 --- a/app/Mail/SubscriptionUnsubscribed.php +++ b/app/Mail/SubscriptionUnsubscribed.php @@ -36,8 +36,6 @@ class SubscriptionUnsubscribed extends Mailable /** * Get the message envelope. - * - * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope(): Envelope { @@ -48,8 +46,6 @@ class SubscriptionUnsubscribed extends Mailable /** * Get the message content definition. - * - * @return \Illuminate\Mail\Mailables\Content */ public function content(): Content { diff --git a/app/Models/Analytics.php b/app/Models/Analytics.php index ff1dc26..988b181 100644 --- a/app/Models/Analytics.php +++ b/app/Models/Analytics.php @@ -22,7 +22,6 @@ class Analytics extends Model * automatically assigning a session value based on previous rows. * * @param array $attributes Model attributes. - * @return static */ public static function createWithSession(array $attributes): static { diff --git a/app/Models/Article.php b/app/Models/Article.php index 13b1eba..5d4f715 100644 --- a/app/Models/Article.php +++ b/app/Models/Article.php @@ -29,8 +29,6 @@ class Article extends Model /** * Get the article user - * - * @return BelongsTo */ public function user(): BelongsTo { @@ -39,8 +37,6 @@ class Article extends Model /** * Get all of the article's attachments. - * - * @return MorphMany */ public function attachments(): MorphMany { diff --git a/app/Models/Attachment.php b/app/Models/Attachment.php index 52a9369..5a9eb1f 100644 --- a/app/Models/Attachment.php +++ b/app/Models/Attachment.php @@ -33,8 +33,6 @@ class Attachment extends Model /** * Get attachments attachable - * - * @return MorphTo */ public function attachable(): MorphTo { @@ -43,8 +41,6 @@ class Attachment extends Model /** * Get the media for this attachment. - * - * @return BelongsTo */ public function media(): BelongsTo { diff --git a/app/Models/Event.php b/app/Models/Event.php index 62e8c65..9d6d5a5 100644 --- a/app/Models/Event.php +++ b/app/Models/Event.php @@ -38,8 +38,6 @@ class Event extends Model /** * Get all of the article's attachments. - * - * @return MorphMany */ public function attachments(): MorphMany { @@ -48,8 +46,6 @@ class Event extends Model /** * Get all the associated users. - * - * @return BelongsToMany */ public function users(): BelongsToMany { diff --git a/app/Models/EventUsers.php b/app/Models/EventUsers.php index cc2a740..31a9d1f 100644 --- a/app/Models/EventUsers.php +++ b/app/Models/EventUsers.php @@ -24,8 +24,6 @@ class EventUser extends Model /** * Get the event for this attachment. - * - * @return BelongsTo */ public function event(): BelongsTo { @@ -34,8 +32,6 @@ class EventUser extends Model /** * Get the user for this attachment. - * - * @return BelongsTo */ public function user(): BelongsTo { diff --git a/app/Models/Media.php b/app/Models/Media.php index 33fc445..2ed7936 100644 --- a/app/Models/Media.php +++ b/app/Models/Media.php @@ -100,8 +100,6 @@ class Media extends Model /** * Model Boot - * - * @return void */ protected static function boot(): void { @@ -164,7 +162,6 @@ class Media extends Model * Variants Set Mutator. * * @param mixed $value The value to mutate. - * @return void */ public function setVariantsAttribute(mixed $value): void { @@ -256,8 +253,6 @@ class Media extends Model /** * Delete file and associated files with the modal. - * - * @return void */ public function deleteFile(): void { @@ -279,7 +274,6 @@ class Media extends Model /** * Invalidate Cloudflare Cache. * - * @return void * @throws InvalidArgumentException Exception. */ private function invalidateCFCache(): void @@ -311,8 +305,6 @@ class Media extends Model /** * Get URL path - * - * @return string */ public function getUrlPath(): string { @@ -322,8 +314,6 @@ class Media extends Model /** * Return the file URL - * - * @return string */ public function getUrlAttribute(): string { @@ -336,8 +326,6 @@ class Media extends Model /** * Return the file owner - * - * @return BelongsTo */ public function user(): BelongsTo { @@ -348,7 +336,6 @@ class Media extends Model * Move files to new storage device. * * @param string $storage The storage ID to move to. - * @return void */ public function moveToStorage(string $storage): void { @@ -494,8 +481,6 @@ class Media extends Model /** * Get the server maximum upload size - * - * @return integer */ public static function getMaxUploadSize(): int { @@ -620,7 +605,6 @@ class Media extends Model * Sanitize fileName for upload * * @param string $fileName Filename to sanitize. - * @return string */ private static function sanitizeFilename(string $fileName): string { diff --git a/app/Models/Permission.php b/app/Models/Permission.php index ef1c791..38f3f29 100644 --- a/app/Models/Permission.php +++ b/app/Models/Permission.php @@ -24,8 +24,6 @@ class Permission extends Model /** * Get the User associated with this model - * - * @return BelongsTo */ public function user(): BelongsTo { diff --git a/app/Models/User.php b/app/Models/User.php index ae029b3..3e8fe41 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -79,8 +79,6 @@ class User extends Authenticatable implements Auditable /** * Get the list of files of the user - * - * @return HasMany */ public function permissions(): HasMany { @@ -89,8 +87,6 @@ class User extends Authenticatable implements Auditable /** * Get the permission attribute - * - * @return array */ public function getPermissionsAttribute(): array { @@ -101,7 +97,6 @@ class User extends Authenticatable implements Auditable * Test if user has permission * * @param string $permission Permission to test. - * @return boolean */ public function hasPermission(string $permission): bool { @@ -112,7 +107,6 @@ class User extends Authenticatable implements Auditable * Give permissions to the user * * @param string|array $permissions The permission(s) to give. - * @return Collection */ public function givePermission($permissions): Collection { @@ -137,7 +131,6 @@ class User extends Authenticatable implements Auditable * Revoke permissions from the user * * @param string|array $permissions The permission(s) to revoke. - * @return integer */ public function revokePermission($permissions): int { @@ -152,8 +145,6 @@ class User extends Authenticatable implements Auditable /** * Get the list of files of the user - * - * @return HasMany */ public function media(): HasMany { @@ -162,8 +153,6 @@ class User extends Authenticatable implements Auditable /** * Get the list of files of the user - * - * @return HasMany */ public function articles(): HasMany { @@ -172,8 +161,6 @@ class User extends Authenticatable implements Auditable /** * Get associated user codes - * - * @return HasMany */ public function codes(): HasMany { @@ -182,8 +169,6 @@ class User extends Authenticatable implements Auditable /** * Get the list of logins of the user - * - * @return HasMany */ public function logins(): HasMany { @@ -192,8 +177,6 @@ class User extends Authenticatable implements Auditable /** * Get the events associated with the user. - * - * @return BelongsToMany */ public function events(): BelongsToMany { diff --git a/app/Models/UserCode.php b/app/Models/UserCode.php index e9b8599..aba1b38 100644 --- a/app/Models/UserCode.php +++ b/app/Models/UserCode.php @@ -23,8 +23,6 @@ class UserCode extends Model /** * Boot function from Laravel. - * - * @return void */ protected static function boot(): void { @@ -46,8 +44,6 @@ class UserCode extends Model /** * Generate new code - * - * @return void */ public function regenerate(): void { @@ -62,8 +58,6 @@ class UserCode extends Model /** * Clear expired user codes - * - * @return void */ public static function clearExpired(): void { @@ -72,8 +66,6 @@ class UserCode extends Model /** * Get associated user - * - * @return BelongsTo */ public function user(): BelongsTo { diff --git a/app/Models/UserLogins.php b/app/Models/UserLogins.php index 29fef9c..8b9a479 100644 --- a/app/Models/UserLogins.php +++ b/app/Models/UserLogins.php @@ -28,8 +28,6 @@ class UserLogins extends Model /** * Get the file user - * - * @return BelongsTo */ public function user(): BelongsTo { diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 6478350..7c5628a 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -16,8 +16,6 @@ class AppServiceProvider extends ServiceProvider { /** * Register any application services. - * - * @return void */ public function register(): void { @@ -26,8 +24,6 @@ class AppServiceProvider extends ServiceProvider /** * Bootstrap any application services. - * - * @return void */ public function boot(): void { diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 1f84312..8e67de0 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -19,8 +19,6 @@ class AuthServiceProvider extends ServiceProvider /** * Register any authentication / authorization services. - * - * @return void */ public function boot(): void { diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 95217e4..f77570e 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -26,8 +26,6 @@ class EventServiceProvider extends ServiceProvider /** * Register any events for your application. - * - * @return void */ public function boot(): void { @@ -36,8 +34,6 @@ class EventServiceProvider extends ServiceProvider /** * Determine if events and listeners should be automatically discovered. - * - * @return boolean */ public function shouldDiscoverEvents(): bool { diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 8c77119..c255a5e 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -23,8 +23,6 @@ class RouteServiceProvider extends ServiceProvider /** * Define your route model bindings, pattern filters, and other route configuration. - * - * @return void */ public function boot(): void { diff --git a/app/Rules/Recaptcha.php b/app/Rules/Recaptcha.php index eb0f865..29a8030 100644 --- a/app/Rules/Recaptcha.php +++ b/app/Rules/Recaptcha.php @@ -22,7 +22,6 @@ class Recaptcha implements Rule * * @param mixed $attribute Attribute name. * @param mixed $value Attribute value. - * @return boolean */ public function passes(mixed $attribute, mixed $value): bool { @@ -42,8 +41,6 @@ class Recaptcha implements Rule /** * Get the validation error message. - * - * @return string */ public function message(): string { diff --git a/app/Rules/UniqueFileName.php b/app/Rules/UniqueFileName.php index 94785bf..823b37c 100644 --- a/app/Rules/UniqueFileName.php +++ b/app/Rules/UniqueFileName.php @@ -20,9 +20,7 @@ class UniqueFileName implements Rule /** * Determine if the validation rule passes. * - * @param string $attribute * @param mixed $value - * @return boolean */ public function passes(string $attribute, $value): bool { @@ -31,8 +29,6 @@ class UniqueFileName implements Rule /** * Get the validation error message. - * - * @return string */ public function message(): string { diff --git a/app/Rules/Uniqueish.php b/app/Rules/Uniqueish.php index 81c12ea..5dd9470 100644 --- a/app/Rules/Uniqueish.php +++ b/app/Rules/Uniqueish.php @@ -47,7 +47,6 @@ class Uniqueish implements Rule * Set the ID of the record to be ignored. * * @param mixed $id The ID to ignore. - * @return $this */ public function ignore(mixed $id): static { @@ -60,7 +59,6 @@ class Uniqueish implements Rule * * @param mixed $attribute Not used. * @param mixed $value The value to compare. - * @return boolean */ public function passes(mixed $attribute, mixed $value): bool { @@ -97,8 +95,6 @@ class Uniqueish implements Rule /** * Get the validation error message. - * - * @return string */ public function message(): string { diff --git a/app/Services/AnimatedGifService.php b/app/Services/AnimatedGifService.php index fecea69..cab5501 100644 --- a/app/Services/AnimatedGifService.php +++ b/app/Services/AnimatedGifService.php @@ -41,8 +41,6 @@ class AnimatedGifService * @param string $filenameOrBlob GIF filename path * @param integer $dataSize GIF blob size. * @param boolean $originalFrames Get original frames (with transparent background) - * - * @return array */ public function extract(string $filenameOrBlob, int $dataSize = 0, bool $originalFrames = false): array { @@ -275,8 +273,6 @@ class GifFrameExtractor /** * Parse the graphic extension of the frames (old: get_graphics_extension) - * - * @param integer $type */ private function parseGraphicsExtension(int $type) { @@ -303,8 +299,6 @@ class GifFrameExtractor /** * Get the full frame string block (old: get_image_block) - * - * @param integer $type */ private function getFrameString(int $type) { @@ -400,12 +394,6 @@ class GifFrameExtractor /** * Get the image data byte (old: get_imagedata_byte) - * - * @param string $type - * @param integer $start - * @param integer $length - * - * @return string */ private function getImageDataByte(string $type, int $start, int $length): string { @@ -419,13 +407,6 @@ class GifFrameExtractor /** * Get the image data bit (old: get_imagedata_bit) - * - * @param string $type - * @param integer $byteIndex - * @param integer $bitStart - * @param integer $bitLength - * - * @return number */ private function getImageDataBit(string $type, int $byteIndex, int $bitStart, int $bitLength): number { @@ -439,10 +420,6 @@ class GifFrameExtractor /** * Return the value of 2 ASCII chars (old: dualbyteval) - * - * @param string $s - * - * @return integer */ private function dualByteVal(string $s): int { @@ -453,8 +430,6 @@ class GifFrameExtractor /** * Read the data stream (old: read_data_stream) - * - * @param integer $firstLength */ private function readDataStream(int $firstLength) { @@ -471,8 +446,6 @@ class GifFrameExtractor /** * Open the gif file (old: loadfile) - * - * @param string $filename */ private function openFile(string $filename) { @@ -495,10 +468,6 @@ class GifFrameExtractor /** * Read the file from the beginning to $byteCount in binary (old: readbyte) - * - * @param integer $byteCount - * - * @return string */ private function readByte(int $byteCount): string { @@ -510,8 +479,6 @@ class GifFrameExtractor /** * Read a byte and return ASCII value (old: readbyte_int) - * - * @return integer */ private function readByteInt(): int { @@ -523,12 +490,6 @@ class GifFrameExtractor /** * Convert a $byte to decimal (old: readbits) - * - * @param string $byte - * @param integer $start - * @param integer $length - * - * @return number */ private function readBits(string $byte, int $start, int $length): number { @@ -540,8 +501,6 @@ class GifFrameExtractor /** * Rewind the file pointer reader (old: p_rewind) - * - * @param integer $length */ private function pointerRewind(int $length) { @@ -551,8 +510,6 @@ class GifFrameExtractor /** * Forward the file pointer reader (old: p_forward) - * - * @param integer $length */ private function pointerForward(int $length) { @@ -562,11 +519,6 @@ class GifFrameExtractor /** * Get a section of the data from $start to $start + $length (old: datapart) - * - * @param integer $start - * @param integer $length - * - * @return string */ private function dataPart(int $start, int $length): string { @@ -579,10 +531,6 @@ class GifFrameExtractor /** * Check if a character if a byte (old: checkbyte) - * - * @param integer $byte - * - * @return boolean */ private function checkByte(int $byte): bool { @@ -598,8 +546,6 @@ class GifFrameExtractor /** * Check the end of the file (old: checkEOF) - * - * @return boolean */ private function checkEOF(): bool { @@ -628,8 +574,6 @@ class GifFrameExtractor /** * Get the total of all added frame duration - * - * @return integer */ public function getTotalDuration(): int { @@ -638,8 +582,6 @@ class GifFrameExtractor /** * Get the number of extracted frames - * - * @return integer */ public function getFrameNumber(): int { @@ -648,8 +590,6 @@ class GifFrameExtractor /** * Get the extracted frames (images and durations) - * - * @return array */ public function getFrames(): array { @@ -658,8 +598,6 @@ class GifFrameExtractor /** * Get the extracted frame positions - * - * @return array */ public function getFramePositions(): array { @@ -668,8 +606,6 @@ class GifFrameExtractor /** * Get the extracted frame dimensions - * - * @return array */ public function getFrameDimensions(): array { @@ -678,8 +614,6 @@ class GifFrameExtractor /** * Get the extracted frame images - * - * @return array */ public function getFrameImages(): array { @@ -688,8 +622,6 @@ class GifFrameExtractor /** * Get the extracted frame durations - * - * @return array */ public function getFrameDurations(): array { diff --git a/app/Traits/Uuids.php b/app/Traits/Uuids.php index a5053ee..64524f0 100644 --- a/app/Traits/Uuids.php +++ b/app/Traits/Uuids.php @@ -8,8 +8,6 @@ trait Uuids { /** * Boot function from Laravel. - * - * @return void */ protected static function bootUuids(): void { @@ -22,8 +20,6 @@ trait Uuids /** * Get the value indicating whether the IDs are incrementing. - * - * @return boolean */ public function getIncrementing(): bool { @@ -32,8 +28,6 @@ trait Uuids /** * Get the auto-incrementing key type. - * - * @return string */ public function getKeyType(): string { diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 9c0da55..c874bda 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -39,8 +39,6 @@ class UserFactory extends Factory /** * Indicate that the model's email address should be unverified. - * - * @return static */ public function unverified(): static { diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 2701125..53656a4 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -30,8 +28,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php index b4d45de..4f42fe6 100644 --- a/database/migrations/2014_10_12_100000_create_password_resets_table.php +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -22,8 +20,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php index db96e7d..249da81 100644 --- a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php +++ b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php index c134bc5..29db28a 100644 --- a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +++ b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2022_12_28_113117_create_posts_table.php b/database/migrations/2022_12_28_113117_create_posts_table.php index f4fbc61..8c3a230 100644 --- a/database/migrations/2022_12_28_113117_create_posts_table.php +++ b/database/migrations/2022_12_28_113117_create_posts_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2022_12_30_105153_create_media_table.php b/database/migrations/2022_12_30_105153_create_media_table.php index 711cf66..7f9209c 100644 --- a/database/migrations/2022_12_30_105153_create_media_table.php +++ b/database/migrations/2022_12_30_105153_create_media_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2022_12_30_110049_create_permissions_table.php b/database/migrations/2022_12_30_110049_create_permissions_table.php index e074e4d..5977404 100644 --- a/database/migrations/2022_12_30_110049_create_permissions_table.php +++ b/database/migrations/2022_12_30_110049_create_permissions_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_01_01_103251_create_events_table.php b/database/migrations/2023_01_01_103251_create_events_table.php index 467874d..211be9c 100644 --- a/database/migrations/2023_01_01_103251_create_events_table.php +++ b/database/migrations/2023_01_01_103251_create_events_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -32,8 +30,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_01_021_050482_create_subscriptions_table.php b/database/migrations/2023_01_021_050482_create_subscriptions_table.php index 656e15f..635ff85 100644 --- a/database/migrations/2023_01_021_050482_create_subscriptions_table.php +++ b/database/migrations/2023_01_021_050482_create_subscriptions_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -23,8 +21,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_01_05_043106_create_jobs_table.php b/database/migrations/2023_01_05_043106_create_jobs_table.php index 560ae54..6098d9b 100644 --- a/database/migrations/2023_01_05_043106_create_jobs_table.php +++ b/database/migrations/2023_01_05_043106_create_jobs_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_01_05_112154_create_user_codes_table.php b/database/migrations/2023_01_05_112154_create_user_codes_table.php index d130b2f..dfae89e 100644 --- a/database/migrations/2023_01_05_112154_create_user_codes_table.php +++ b/database/migrations/2023_01_05_112154_create_user_codes_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_01_08_045958_create_audits_table.php b/database/migrations/2023_01_08_045958_create_audits_table.php index e363a3c..42669aa 100644 --- a/database/migrations/2023_01_08_045958_create_audits_table.php +++ b/database/migrations/2023_01_08_045958_create_audits_table.php @@ -9,8 +9,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -37,8 +35,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_01_08_050847_create_user_logins_table.php b/database/migrations/2023_01_08_050847_create_user_logins_table.php index e97f025..3752181 100644 --- a/database/migrations/2023_01_08_050847_create_user_logins_table.php +++ b/database/migrations/2023_01_08_050847_create_user_logins_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -29,8 +27,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_01_24_080416_create_analytics_table.php b/database/migrations/2023_01_24_080416_create_analytics_table.php index df4d332..3c5bb9a 100644 --- a/database/migrations/2023_01_24_080416_create_analytics_table.php +++ b/database/migrations/2023_01_24_080416_create_analytics_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_24_023054_create_attachments_table.php b/database/migrations/2023_02_24_023054_create_attachments_table.php index 9bd6648..54b8441 100644 --- a/database/migrations/2023_02_24_023054_create_attachments_table.php +++ b/database/migrations/2023_02_24_023054_create_attachments_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_28_090609_add_price_to_events_table.php b/database/migrations/2023_02_28_090609_add_price_to_events_table.php index 31df4e7..5fdc902 100644 --- a/database/migrations/2023_02_28_090609_add_price_to_events_table.php +++ b/database/migrations/2023_02_28_090609_add_price_to_events_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_03_01_075334_add_ages_to_events_table.php b/database/migrations/2023_03_01_075334_add_ages_to_events_table.php index 133a5dd..22f0ceb 100644 --- a/database/migrations/2023_03_01_075334_add_ages_to_events_table.php +++ b/database/migrations/2023_03_01_075334_add_ages_to_events_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_04_05_222458_update_media_table.php b/database/migrations/2023_04_05_222458_update_media_table.php index a836d2a..9a7ee94 100644 --- a/database/migrations/2023_04_05_222458_update_media_table.php +++ b/database/migrations/2023_04_05_222458_update_media_table.php @@ -9,8 +9,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -37,8 +35,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_04_18_111723_update_no_nullable_phone_on_users_table.php b/database/migrations/2023_04_18_111723_update_no_nullable_phone_on_users_table.php index bd2c47c..67d11ce 100644 --- a/database/migrations/2023_04_18_111723_update_no_nullable_phone_on_users_table.php +++ b/database/migrations/2023_04_18_111723_update_no_nullable_phone_on_users_table.php @@ -9,8 +9,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -23,8 +21,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_04_18_113354_add_display_name_to_users_table.php b/database/migrations/2023_04_18_113354_add_display_name_to_users_table.php index 4fcb54d..da2d613 100644 --- a/database/migrations/2023_04_18_113354_add_display_name_to_users_table.php +++ b/database/migrations/2023_04_18_113354_add_display_name_to_users_table.php @@ -9,8 +9,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -28,8 +26,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_04_19_122711_drop_subscriptions_table.php b/database/migrations/2023_04_19_122711_drop_subscriptions_table.php index 118dcd6..0ca3633 100644 --- a/database/migrations/2023_04_19_122711_drop_subscriptions_table.php +++ b/database/migrations/2023_04_19_122711_drop_subscriptions_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -18,8 +16,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_04_25_235615_update_posts_table.php b/database/migrations/2023_04_25_235615_update_posts_table.php index 7effe66..aac9dd7 100644 --- a/database/migrations/2023_04_25_235615_update_posts_table.php +++ b/database/migrations/2023_04_25_235615_update_posts_table.php @@ -9,8 +9,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -22,8 +20,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_01_045630_update_analytics_table.php b/database/migrations/2023_05_01_045630_update_analytics_table.php index d8a012d..cfcd5d7 100644 --- a/database/migrations/2023_05_01_045630_update_analytics_table.php +++ b/database/migrations/2023_05_01_045630_update_analytics_table.php @@ -9,8 +9,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -97,8 +95,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_04_071954_remove_username_from_users_table.php b/database/migrations/2023_05_04_071954_remove_username_from_users_table.php index 1381580..aa0df58 100644 --- a/database/migrations/2023_05_04_071954_remove_username_from_users_table.php +++ b/database/migrations/2023_05_04_071954_remove_username_from_users_table.php @@ -9,8 +9,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -21,8 +19,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_06_080418_create_shortlinks_table.php b/database/migrations/2023_05_06_080418_create_shortlinks_table.php index d101e1b..7c6f3fd 100644 --- a/database/migrations/2023_05_06_080418_create_shortlinks_table.php +++ b/database/migrations/2023_05_06_080418_create_shortlinks_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -23,8 +21,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_06_082705_add_counter_to_shortlinks_table.php b/database/migrations/2023_05_06_082705_add_counter_to_shortlinks_table.php index 28f0f0f..25cdb7a 100644 --- a/database/migrations/2023_05_06_082705_add_counter_to_shortlinks_table.php +++ b/database/migrations/2023_05_06_082705_add_counter_to_shortlinks_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_08_021929_update_users_table.php b/database/migrations/2023_05_08_021929_update_users_table.php index f21cca7..497de63 100644 --- a/database/migrations/2023_05_08_021929_update_users_table.php +++ b/database/migrations/2023_05_08_021929_update_users_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -21,8 +19,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_09_003156_add_location_url_to_events.php b/database/migrations/2023_05_09_003156_add_location_url_to_events.php index af93923..e33f9e8 100644 --- a/database/migrations/2023_05_09_003156_add_location_url_to_events.php +++ b/database/migrations/2023_05_09_003156_add_location_url_to_events.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_11_032859_add_private_to_attachments_table.php b/database/migrations/2023_05_11_032859_add_private_to_attachments_table.php index aa24e77..2efac94 100644 --- a/database/migrations/2023_05_11_032859_add_private_to_attachments_table.php +++ b/database/migrations/2023_05_11_032859_add_private_to_attachments_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_11_033621_create_event_users_table.php b/database/migrations/2023_05_11_033621_create_event_users_table.php index e4a4702..ab3cdbd 100644 --- a/database/migrations/2023_05_11_033621_create_event_users_table.php +++ b/database/migrations/2023_05_11_033621_create_event_users_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_05_24_000000_rename_password_resets_table.php b/database/migrations/2023_05_24_000000_rename_password_resets_table.php index ab300e6..f0ad375 100644 --- a/database/migrations/2023_05_24_000000_rename_password_resets_table.php +++ b/database/migrations/2023_05_24_000000_rename_password_resets_table.php @@ -8,8 +8,6 @@ return new class extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -18,8 +16,6 @@ return new class extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 230545b..d3eee24 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -12,8 +12,6 @@ class DatabaseSeeder extends Seeder { /** * Seed the application's database. - * - * @return void */ public function run(): void { diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php index d809638..5773b0c 100644 --- a/tests/Unit/ExampleTest.php +++ b/tests/Unit/ExampleTest.php @@ -8,8 +8,6 @@ class ExampleTest extends TestCase { /** * A basic test example. - * - * @return void */ public function test_that_true_is_true(): void {