diff --git a/.styleci.yml b/.styleci.yml index 44bdf36dd..f6cb86a77 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -2,10 +2,13 @@ preset: laravel enabled: - concat_with_spaces + - phpdoc_separation disabled: - phpdoc_no_package - concat_without_spaces + - laravel_phpdoc_alignment + - laravel_phpdoc_separation finder: exclude: diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 3d23c695a..c2cfab678 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -51,6 +51,7 @@ public function report(Exception $exception) * @param \Exception $exception * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function render($request, Exception $exception) diff --git a/app/HMS/Composers/ProxyComposer.php b/app/HMS/Composers/ProxyComposer.php index 018e9b34c..4f1f983ae 100644 --- a/app/HMS/Composers/ProxyComposer.php +++ b/app/HMS/Composers/ProxyComposer.php @@ -39,6 +39,7 @@ public function __construct( * Bind data to the view. * * @param View $view + * * @return void */ public function compose(View $view) diff --git a/app/HMS/Doctrine/CarbonType.php b/app/HMS/Doctrine/CarbonType.php index 02367ca13..313728620 100644 --- a/app/HMS/Doctrine/CarbonType.php +++ b/app/HMS/Doctrine/CarbonType.php @@ -56,6 +56,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform) * @param AbstractPlatform $platform * * @return Carbon|null + * * @throws ConversionException * @throws InvalidArgumentException */ diff --git a/app/HMS/Entities/Governance/Proxy.php b/app/HMS/Entities/Governance/Proxy.php index e7845df8d..89f5157e8 100644 --- a/app/HMS/Entities/Governance/Proxy.php +++ b/app/HMS/Entities/Governance/Proxy.php @@ -23,6 +23,7 @@ class Proxy /** * User designating a proxy. + * * @var User */ protected $principal; diff --git a/app/HMS/Factories/Banking/AccountFactory.php b/app/HMS/Factories/Banking/AccountFactory.php index 5d1fa3bfb..e50c57377 100644 --- a/app/HMS/Factories/Banking/AccountFactory.php +++ b/app/HMS/Factories/Banking/AccountFactory.php @@ -59,6 +59,7 @@ protected static function generatePaymentRef() * Generate a unique payment reference. * * @return string A unique (at the time of function-call) payment reference. + * * @link http://www.bacs.co.uk/Bacs/Businesses/BacsDirectCredit/Receiving/Pages/PaymentReferenceInformation.aspx */ protected function generateUniquePaymentRef() diff --git a/app/HMS/Repositories/Instrumentation/Doctrine/DoctrineEventRepository.php b/app/HMS/Repositories/Instrumentation/Doctrine/DoctrineEventRepository.php index c49f11556..9e1b26a84 100644 --- a/app/HMS/Repositories/Instrumentation/Doctrine/DoctrineEventRepository.php +++ b/app/HMS/Repositories/Instrumentation/Doctrine/DoctrineEventRepository.php @@ -32,6 +32,7 @@ public function paginateByService(Service $service, $perPage = 50, $pageName = ' /** * save Event to the DB. + * * @param Event $event */ public function save(Event $event) diff --git a/app/HMS/Repositories/Instrumentation/Doctrine/DoctrineServiceRepository.php b/app/HMS/Repositories/Instrumentation/Doctrine/DoctrineServiceRepository.php index 715f26a91..c1571645d 100644 --- a/app/HMS/Repositories/Instrumentation/Doctrine/DoctrineServiceRepository.php +++ b/app/HMS/Repositories/Instrumentation/Doctrine/DoctrineServiceRepository.php @@ -20,6 +20,7 @@ public function findAll() /** * save Service to the DB. + * * @param Service $service */ public function save(Service $service) diff --git a/app/HMS/Repositories/Instrumentation/EventRepository.php b/app/HMS/Repositories/Instrumentation/EventRepository.php index dd539834b..90cb299c1 100644 --- a/app/HMS/Repositories/Instrumentation/EventRepository.php +++ b/app/HMS/Repositories/Instrumentation/EventRepository.php @@ -18,6 +18,7 @@ public function paginateByService(Service $service, $perPage = 15, $pageName = ' /** * save Event to the DB. + * * @param Event $event */ public function save(Event $event); diff --git a/app/HMS/Repositories/Instrumentation/ServiceRepository.php b/app/HMS/Repositories/Instrumentation/ServiceRepository.php index e3fd2857e..81cc9e825 100644 --- a/app/HMS/Repositories/Instrumentation/ServiceRepository.php +++ b/app/HMS/Repositories/Instrumentation/ServiceRepository.php @@ -15,6 +15,7 @@ public function findAll(); /** * save Service to the DB. + * * @param Service $service */ public function save(Service $service); diff --git a/app/Http/Controllers/Api/Auth/CanCheckController.php b/app/Http/Controllers/Api/Auth/CanCheckController.php index 75a0b70fd..cdf25c691 100644 --- a/app/Http/Controllers/Api/Auth/CanCheckController.php +++ b/app/Http/Controllers/Api/Auth/CanCheckController.php @@ -21,6 +21,7 @@ public function __construct() * Handle the incoming request. * * @param \Illuminate\Http\Request $request + * * @return \Illuminate\Http\Response */ public function __invoke(Request $request) diff --git a/app/Http/Controllers/Api/Gatekeeper/RegisterRfidTagController.php b/app/Http/Controllers/Api/Gatekeeper/RegisterRfidTagController.php index 69c6f1285..cd1834b83 100644 --- a/app/Http/Controllers/Api/Gatekeeper/RegisterRfidTagController.php +++ b/app/Http/Controllers/Api/Gatekeeper/RegisterRfidTagController.php @@ -57,6 +57,7 @@ public function __construct( * Handle the incoming request. * * @param \Illuminate\Http\Request $request + * * @return \Illuminate\Http\Response */ public function __invoke(Request $request) diff --git a/app/Http/Controllers/Api/Members/BoxController.php b/app/Http/Controllers/Api/Members/BoxController.php index 68abac4ef..45d3697a6 100644 --- a/app/Http/Controllers/Api/Members/BoxController.php +++ b/app/Http/Controllers/Api/Members/BoxController.php @@ -115,6 +115,7 @@ public function __construct( * @param \Illuminate\Http\Request $request * * @return \Illuminate\Http\Response + * * @throws \Doctrine\ORM\EntityNotFoundException * @throws \Illuminate\Auth\Access\AuthorizationException */ @@ -144,6 +145,7 @@ public function index(Request $request) * @param Box $box the Box * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function show(Box $box) @@ -161,6 +163,7 @@ public function show(Box $box) * @param \Illuminate\Http\Request $request * * @return \Illuminate\Http\Response + * * @throws \Doctrine\ORM\EntityNotFoundException * @throws \Illuminate\Auth\Access\AuthorizationException */ @@ -261,6 +264,7 @@ public function store(Request $request) * @param Box $box * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function printLabel(Box $box) @@ -280,6 +284,7 @@ public function printLabel(Box $box) * @param Box $box * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function markInUse(Box $box) @@ -342,6 +347,7 @@ public function markInUse(Box $box) * @param Box $box * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function markAbandoned(Box $box) @@ -366,6 +372,7 @@ public function markAbandoned(Box $box) * @param Box $box * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function markRemoved(Box $box) diff --git a/app/Http/Controllers/Api/Members/ProjectController.php b/app/Http/Controllers/Api/Members/ProjectController.php index 3d4eec0c9..c99cde6cc 100644 --- a/app/Http/Controllers/Api/Members/ProjectController.php +++ b/app/Http/Controllers/Api/Members/ProjectController.php @@ -63,6 +63,7 @@ public function __construct( * @param \Illuminate\Http\Request $request * * @return \Illuminate\Http\Response + * * @throws \Doctrine\ORM\EntityNotFoundException * @throws \Illuminate\Auth\Access\AuthorizationException */ @@ -112,6 +113,7 @@ public function store(Request $request) * @param Project $project * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function show(Project $project) @@ -130,6 +132,7 @@ public function show(Project $project) * @param Project $project * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function update(Request $request, Project $project) @@ -156,6 +159,7 @@ public function update(Request $request, Project $project) * @param Project $project * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function printLabel(Project $project) @@ -175,6 +179,7 @@ public function printLabel(Project $project) * @param Project $project * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function markActive(Project $project) @@ -195,6 +200,7 @@ public function markActive(Project $project) * @param Project $project * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function markAbandoned(Project $project) @@ -215,6 +221,7 @@ public function markAbandoned(Project $project) * @param Project $project * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function markComplete(Project $project) diff --git a/app/Http/Controllers/Api/UserController.php b/app/Http/Controllers/Api/UserController.php index 517397bbf..8259e64fd 100644 --- a/app/Http/Controllers/Api/UserController.php +++ b/app/Http/Controllers/Api/UserController.php @@ -55,6 +55,7 @@ public function __construct( * @param User $user * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function index() @@ -70,6 +71,7 @@ public function index() * @param User $user * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function show(User $user) @@ -88,6 +90,7 @@ public function show(User $user) * @param User $user * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function update(Request $request, User $user) diff --git a/app/Http/Controllers/Banking/Account/AccountBankTransactionController.php b/app/Http/Controllers/Banking/Account/AccountBankTransactionController.php index be9b98aa1..1442864f6 100644 --- a/app/Http/Controllers/Banking/Account/AccountBankTransactionController.php +++ b/app/Http/Controllers/Banking/Account/AccountBankTransactionController.php @@ -52,6 +52,7 @@ public function __construct( * Show the form for creating a new resource. * * @param Account $account + * * @return \Illuminate\Http\Response */ public function create(Account $account) @@ -77,6 +78,7 @@ public function create(Account $account) * * @param \Illuminate\Http\Request $request * @param Account $account + * * @return \Illuminate\Http\Response */ public function store(Request $request, Account $account) diff --git a/app/Http/Controllers/Banking/Bank/BankBankTransactionController.php b/app/Http/Controllers/Banking/Bank/BankBankTransactionController.php index 1c7f67b7f..ec8cbd423 100644 --- a/app/Http/Controllers/Banking/Bank/BankBankTransactionController.php +++ b/app/Http/Controllers/Banking/Bank/BankBankTransactionController.php @@ -62,6 +62,7 @@ public function __construct( * Show the form for creating a new resource. * * @param \App\Bank $bank + * * @return \Illuminate\Http\Response */ public function create(Bank $bank) @@ -82,6 +83,7 @@ public function create(Bank $bank) * * @param \Illuminate\Http\Request $request * @param \App\Bank $bank + * * @return \Illuminate\Http\Response */ public function store(Request $request, Bank $bank) @@ -118,6 +120,7 @@ public function store(Request $request, Bank $bank) * Show the form for uploading an OFX file. * * @param \App\Bank $bank + * * @return \Illuminate\Http\Response */ public function createViaOfxUpload(Bank $bank) @@ -146,6 +149,7 @@ public function createViaOfxUpload(Bank $bank) * * @param \Illuminate\Http\Request $request * @param \App\Bank $bank + * * @return \Illuminate\Http\Response */ public function storeOfx(Request $request, Bank $bank) diff --git a/app/Http/Controllers/Banking/BankController.php b/app/Http/Controllers/Banking/BankController.php index 7037b1282..2e173ff4c 100644 --- a/app/Http/Controllers/Banking/BankController.php +++ b/app/Http/Controllers/Banking/BankController.php @@ -76,6 +76,7 @@ public function create() * Store a newly created resource in storage. * * @param \Illuminate\Http\Request $request + * * @return \Illuminate\Http\Response */ public function store(Request $request) @@ -109,6 +110,7 @@ public function store(Request $request) * Display the specified resource. * * @param \HMS\Entities\Banking\Bank $bank + * * @return \Illuminate\Http\Response */ public function show(Bank $bank) @@ -124,6 +126,7 @@ public function show(Bank $bank) * Show the form for editing the specified resource. * * @param \HMS\Entities\Banking\Bank $bank + * * @return \Illuminate\Http\Response */ public function edit(Bank $bank) @@ -137,6 +140,7 @@ public function edit(Bank $bank) * * @param \Illuminate\Http\Request $request * @param \HMS\Entities\Banking\Bank $bank + * * @return \Illuminate\Http\Response */ public function update(Request $request, Bank $bank) diff --git a/app/Http/Controllers/ContentBlockController.php b/app/Http/Controllers/ContentBlockController.php index e2bfbaabc..d38c61bd4 100644 --- a/app/Http/Controllers/ContentBlockController.php +++ b/app/Http/Controllers/ContentBlockController.php @@ -42,6 +42,7 @@ public function index() * Display the specified resource. * * @param \HMS\Entities\ContentBlock $contentBlock + * * @return \Illuminate\Http\Response */ public function show(ContentBlock $contentBlock) @@ -53,6 +54,7 @@ public function show(ContentBlock $contentBlock) * Show the form for editing the specified resource. * * @param \HMS\Entities\ContentBlock $contentBlock + * * @return \Illuminate\Http\Response */ public function edit(ContentBlock $contentBlock) @@ -65,6 +67,7 @@ public function edit(ContentBlock $contentBlock) * * @param \Illuminate\Http\Request $request * @param \HMS\Entities\ContentBlock $contentBlock + * * @return \Illuminate\Http\Response */ public function update(Request $request, ContentBlock $contentBlock) diff --git a/app/Http/Controllers/Tools/ToolController.php b/app/Http/Controllers/Tools/ToolController.php index 82698e121..5e8c7d424 100644 --- a/app/Http/Controllers/Tools/ToolController.php +++ b/app/Http/Controllers/Tools/ToolController.php @@ -178,6 +178,7 @@ public function show(Tool $tool) * @param string $grantType * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function showUsersForGrant(Tool $tool, string $grantType) @@ -287,6 +288,7 @@ public function destroy(Tool $tool) * @param Tool $tool * * @return \Illuminate\Http\Response + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function grant(Request $request, Tool $tool) diff --git a/app/Http/Resources/Gatekeeper/RfidTagResource.php b/app/Http/Resources/Gatekeeper/RfidTagResource.php index fdb54874b..9367fccd0 100644 --- a/app/Http/Resources/Gatekeeper/RfidTagResource.php +++ b/app/Http/Resources/Gatekeeper/RfidTagResource.php @@ -11,6 +11,7 @@ class RfidTagResource extends JsonResource * Transform the resource into an array. * * @param \Illuminate\Http\Request $request + * * @return array */ public function toArray($request) diff --git a/app/Listeners/Gatekeeper/NotifyNewBooking.php b/app/Listeners/Gatekeeper/NotifyNewBooking.php index 56844b5ad..b3438cf87 100644 --- a/app/Listeners/Gatekeeper/NotifyNewBooking.php +++ b/app/Listeners/Gatekeeper/NotifyNewBooking.php @@ -45,6 +45,7 @@ public function __construct( * Handle the event. * * @param NewBooking $event + * * @return void */ public function handle(NewBooking $event) diff --git a/app/Listeners/Governance/NotifyCancelledProxy.php b/app/Listeners/Governance/NotifyCancelledProxy.php index 0aac019c6..40c5c6bc0 100644 --- a/app/Listeners/Governance/NotifyCancelledProxy.php +++ b/app/Listeners/Governance/NotifyCancelledProxy.php @@ -33,6 +33,7 @@ public function __construct(RoleRepository $roleRepository) * Handle the event. * * @param ProxyCancelled $event + * * @return void */ public function handle(ProxyCancelled $event) diff --git a/app/Listeners/Governance/NotifyCheckedInProxy.php b/app/Listeners/Governance/NotifyCheckedInProxy.php index 538a4885b..37ec97657 100644 --- a/app/Listeners/Governance/NotifyCheckedInProxy.php +++ b/app/Listeners/Governance/NotifyCheckedInProxy.php @@ -22,6 +22,7 @@ public function __construct() * Handle the event. * * @param ProxyCheckedIn $event + * * @return void */ public function handle(ProxyCheckedIn $event) diff --git a/app/Listeners/Governance/NotifyNewProxyRegistered.php b/app/Listeners/Governance/NotifyNewProxyRegistered.php index 1494f5565..b322e3199 100644 --- a/app/Listeners/Governance/NotifyNewProxyRegistered.php +++ b/app/Listeners/Governance/NotifyNewProxyRegistered.php @@ -33,6 +33,7 @@ public function __construct(RoleRepository $roleRepository) * Handle the event. * * @param ProxyRegistered $event + * * @return void */ public function handle(ProxyRegistered $event) diff --git a/app/Listeners/Governance/NotifyUpdatedProxy.php b/app/Listeners/Governance/NotifyUpdatedProxy.php index 4767ff731..2b55408ca 100644 --- a/app/Listeners/Governance/NotifyUpdatedProxy.php +++ b/app/Listeners/Governance/NotifyUpdatedProxy.php @@ -24,6 +24,7 @@ public function __construct() * Handle the event. * * @param ProxyUpdated $event + * * @return void */ public function handle(ProxyUpdated $event) diff --git a/app/Listeners/ViMbAdminSubscriber.php b/app/Listeners/ViMbAdminSubscriber.php index d9dc32355..b7279b172 100644 --- a/app/Listeners/ViMbAdminSubscriber.php +++ b/app/Listeners/ViMbAdminSubscriber.php @@ -180,9 +180,9 @@ public function onUserRemovedFromRole(UserRemovedFromRole $event) * * @param Role $role * - * @throws Exception - * * @return null|Alias + * + * @throws Exception */ public function getAliasForRole(Role $role) { diff --git a/app/Notifications/Gatekeeper/BookingApprovedAutomatically.php b/app/Notifications/Gatekeeper/BookingApprovedAutomatically.php index 66083f813..1891a440b 100644 --- a/app/Notifications/Gatekeeper/BookingApprovedAutomatically.php +++ b/app/Notifications/Gatekeeper/BookingApprovedAutomatically.php @@ -36,6 +36,7 @@ public function __construct(TemporaryAccessBooking $booking) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -47,6 +48,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Gatekeeper/BookingCancelledWithReason.php b/app/Notifications/Gatekeeper/BookingCancelledWithReason.php index f894c880e..d833513b0 100644 --- a/app/Notifications/Gatekeeper/BookingCancelledWithReason.php +++ b/app/Notifications/Gatekeeper/BookingCancelledWithReason.php @@ -43,6 +43,7 @@ public function __construct(TemporaryAccessBooking $booking, string $reason) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -54,6 +55,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) @@ -85,6 +87,7 @@ public function toMail($notifiable) * Get the array representation of the notification. * * @param mixed $notifiable + * * @return array */ public function toArray($notifiable) diff --git a/app/Notifications/Gatekeeper/BookingMade.php b/app/Notifications/Gatekeeper/BookingMade.php index d0ced7aca..85dd1282f 100644 --- a/app/Notifications/Gatekeeper/BookingMade.php +++ b/app/Notifications/Gatekeeper/BookingMade.php @@ -36,6 +36,7 @@ public function __construct(TemporaryAccessBooking $booking) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -47,6 +48,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Gatekeeper/BookingRejected.php b/app/Notifications/Gatekeeper/BookingRejected.php index 72c42c0c2..e0914e9f4 100644 --- a/app/Notifications/Gatekeeper/BookingRejected.php +++ b/app/Notifications/Gatekeeper/BookingRejected.php @@ -43,6 +43,7 @@ public function __construct(TemporaryAccessBooking $booking, string $reason) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -54,6 +55,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Gatekeeper/NotifyTrusteeOverstay.php b/app/Notifications/Gatekeeper/NotifyTrusteeOverstay.php index da51ae32c..41d7a4d5a 100644 --- a/app/Notifications/Gatekeeper/NotifyTrusteeOverstay.php +++ b/app/Notifications/Gatekeeper/NotifyTrusteeOverstay.php @@ -53,6 +53,7 @@ public function __construct( * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -64,6 +65,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Gatekeeper/NotifyUserOverstay.php b/app/Notifications/Gatekeeper/NotifyUserOverstay.php index 88d8144f5..28d6c59b3 100644 --- a/app/Notifications/Gatekeeper/NotifyUserOverstay.php +++ b/app/Notifications/Gatekeeper/NotifyUserOverstay.php @@ -48,6 +48,7 @@ public function __construct( * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -59,6 +60,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Governance/Proxy/NotifyTrusteesProxyCancelled.php b/app/Notifications/Governance/Proxy/NotifyTrusteesProxyCancelled.php index a7cacca7b..75cb532e0 100644 --- a/app/Notifications/Governance/Proxy/NotifyTrusteesProxyCancelled.php +++ b/app/Notifications/Governance/Proxy/NotifyTrusteesProxyCancelled.php @@ -32,6 +32,7 @@ public function __construct(Meeting $meeting) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) diff --git a/app/Notifications/Governance/Proxy/NotifyTrusteesProxyRegistered.php b/app/Notifications/Governance/Proxy/NotifyTrusteesProxyRegistered.php index ab0b55143..8d29adfd2 100644 --- a/app/Notifications/Governance/Proxy/NotifyTrusteesProxyRegistered.php +++ b/app/Notifications/Governance/Proxy/NotifyTrusteesProxyRegistered.php @@ -32,6 +32,7 @@ public function __construct(Proxy $proxy) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) diff --git a/app/Notifications/Governance/Proxy/PrincipalAccepted.php b/app/Notifications/Governance/Proxy/PrincipalAccepted.php index baa163ff1..29c31cca9 100644 --- a/app/Notifications/Governance/Proxy/PrincipalAccepted.php +++ b/app/Notifications/Governance/Proxy/PrincipalAccepted.php @@ -31,6 +31,7 @@ public function __construct(Proxy $proxy) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -42,6 +43,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Governance/Proxy/PrincipalCancelled.php b/app/Notifications/Governance/Proxy/PrincipalCancelled.php index 175ae1f4a..a7c51eeab 100644 --- a/app/Notifications/Governance/Proxy/PrincipalCancelled.php +++ b/app/Notifications/Governance/Proxy/PrincipalCancelled.php @@ -40,6 +40,7 @@ public function __construct(Meeting $meeting, User $principal) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -51,6 +52,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Governance/Proxy/PrincipalCheckedIn.php b/app/Notifications/Governance/Proxy/PrincipalCheckedIn.php index 98fbc8295..b85ed724c 100644 --- a/app/Notifications/Governance/Proxy/PrincipalCheckedIn.php +++ b/app/Notifications/Governance/Proxy/PrincipalCheckedIn.php @@ -40,6 +40,7 @@ public function __construct(Meeting $meeting, User $principal) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -51,6 +52,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Governance/Proxy/ProxyAccepted.php b/app/Notifications/Governance/Proxy/ProxyAccepted.php index 38c0b9add..beacc7810 100644 --- a/app/Notifications/Governance/Proxy/ProxyAccepted.php +++ b/app/Notifications/Governance/Proxy/ProxyAccepted.php @@ -33,6 +33,7 @@ public function __construct(Proxy $proxy) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -44,6 +45,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Governance/Proxy/ProxyCancelled.php b/app/Notifications/Governance/Proxy/ProxyCancelled.php index fcfc3ef7a..058cfeb56 100644 --- a/app/Notifications/Governance/Proxy/ProxyCancelled.php +++ b/app/Notifications/Governance/Proxy/ProxyCancelled.php @@ -40,6 +40,7 @@ public function __construct(Meeting $meeting, User $proxy) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -51,6 +52,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Governance/Proxy/ProxyUpdated.php b/app/Notifications/Governance/Proxy/ProxyUpdated.php index 4e6091656..41543e818 100644 --- a/app/Notifications/Governance/Proxy/ProxyUpdated.php +++ b/app/Notifications/Governance/Proxy/ProxyUpdated.php @@ -41,6 +41,7 @@ public function __construct(Proxy $proxy, User $oldProxy) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -52,6 +53,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) diff --git a/app/Notifications/Membership/BannedMemberReinstated.php b/app/Notifications/Membership/BannedMemberReinstated.php index b206d7473..0420188aa 100644 --- a/app/Notifications/Membership/BannedMemberReinstated.php +++ b/app/Notifications/Membership/BannedMemberReinstated.php @@ -40,6 +40,7 @@ public function __construct(User $user, User $authorizer) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -51,6 +52,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) @@ -67,6 +69,7 @@ public function toMail($notifiable) * Get the array representation of the notification. * * @param mixed $notifiable + * * @return array */ public function toArray($notifiable) diff --git a/app/Notifications/Membership/MemberBanned.php b/app/Notifications/Membership/MemberBanned.php index cfe076d92..d6a8df850 100644 --- a/app/Notifications/Membership/MemberBanned.php +++ b/app/Notifications/Membership/MemberBanned.php @@ -40,6 +40,7 @@ public function __construct(User $user, User $authorizer) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -51,6 +52,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) @@ -67,6 +69,7 @@ public function toMail($notifiable) * Get the array representation of the notification. * * @param mixed $notifiable + * * @return array */ public function toArray($notifiable) diff --git a/app/Notifications/Membership/MemberTemporarilyBanned.php b/app/Notifications/Membership/MemberTemporarilyBanned.php index f16387a8e..fcce16f49 100644 --- a/app/Notifications/Membership/MemberTemporarilyBanned.php +++ b/app/Notifications/Membership/MemberTemporarilyBanned.php @@ -40,6 +40,7 @@ public function __construct(User $user, User $authorizer) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -51,6 +52,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) @@ -67,6 +69,7 @@ public function toMail($notifiable) * Get the array representation of the notification. * * @param mixed $notifiable + * * @return array */ public function toArray($notifiable) diff --git a/app/Notifications/Membership/TemporarilyBannedMemberReinstated.php b/app/Notifications/Membership/TemporarilyBannedMemberReinstated.php index 67091309e..40d4faa6b 100644 --- a/app/Notifications/Membership/TemporarilyBannedMemberReinstated.php +++ b/app/Notifications/Membership/TemporarilyBannedMemberReinstated.php @@ -40,6 +40,7 @@ public function __construct(User $user, User $authorizer) * Get the notification's delivery channels. * * @param mixed $notifiable + * * @return array */ public function via($notifiable) @@ -51,6 +52,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable + * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) @@ -67,6 +69,7 @@ public function toMail($notifiable) * Get the array representation of the notification. * * @param mixed $notifiable + * * @return array */ public function toArray($notifiable) diff --git a/database/migrations_doctrine/Version20190109152643_remove_unneeded_meta_entries.php b/database/migrations_doctrine/Version20190109152643_remove_unneeded_meta_entries.php index bb2ad5946..4322393a6 100644 --- a/database/migrations_doctrine/Version20190109152643_remove_unneeded_meta_entries.php +++ b/database/migrations_doctrine/Version20190109152643_remove_unneeded_meta_entries.php @@ -10,6 +10,7 @@ class Version20190109152643_remove_unneeded_meta_entries extends AbstractMigrati { /** * Links we will be removing or adding. + * * @var string[] */ protected $settings = [ diff --git a/database/seeds/BankTransactionTableSeeder.php b/database/seeds/BankTransactionTableSeeder.php index db89171c2..c6572def5 100644 --- a/database/seeds/BankTransactionTableSeeder.php +++ b/database/seeds/BankTransactionTableSeeder.php @@ -123,6 +123,7 @@ public function run() /** * Generate a new BankTransaction. + * * @param User $user * @param string $startDate * @param string $endDate @@ -139,6 +140,7 @@ private function __generateBankTransaction(User $user, string $startDate, $endDa /** * Generate a new BankTransaction for CSV. + * * @param User $user * @param string $startDate * @param string $endDate