Skip to content

Commit

Permalink
CodeStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Oct 8, 2024
1 parent a669006 commit 7413816
Show file tree
Hide file tree
Showing 125 changed files with 21 additions and 643 deletions.
3 changes: 3 additions & 0 deletions app/Cli/Commands/TreeExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ protected function configure(): void
->setDescription(description: 'Export a tree to a GEDCOM file');
}

/**
* @return array<string>
*/
private function autoCompleteTreeName(CompletionInput $input): array
{
return DB::table('tree')
Expand Down
5 changes: 0 additions & 5 deletions app/Module/AbstractModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ public function title(): string
return 'Module name goes here';
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
return $this->title();
Expand Down
5 changes: 0 additions & 5 deletions app/Module/AhnentafelReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ public function title(): string
return I18N::translate('Ancestors');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
5 changes: 0 additions & 5 deletions app/Module/AlbumModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ public function title(): string
return I18N::translate('Album');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Album” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/AncestorsChartModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@ public function title(): string
return I18N::translate('Ancestors');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “AncestorsChart” module */
Expand Down
2 changes: 0 additions & 2 deletions app/Module/AustrianHistoricEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function isEnabledByDefault(): bool
}

/**
* All events provided by this module.
*
* @return Collection<int,string>
*/
public function historicEventsAll(): Collection
Expand Down
2 changes: 0 additions & 2 deletions app/Module/AustrianPresidents.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function isEnabledByDefault(): bool
}

/**
* All events provided by this module.
*
* @return Collection<int,string>
*/
public function historicEventsAll(): Collection
Expand Down
5 changes: 0 additions & 5 deletions app/Module/BirthDeathMarriageReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ public function title(): string
return I18N::translate('Vital records');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
5 changes: 0 additions & 5 deletions app/Module/BirthReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ public function title(): string
return I18N::translate('Births');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
5 changes: 0 additions & 5 deletions app/Module/BranchesListModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ public function title(): string
return I18N::translate('Branches');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Branches” module */
Expand Down
2 changes: 0 additions & 2 deletions app/Module/BritishMonarchs.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function isEnabledByDefault(): bool
}

/**
* All events provided by this module.
*
* @return Collection<int,string>
*/
public function historicEventsAll(): Collection
Expand Down
2 changes: 0 additions & 2 deletions app/Module/BritishPrimeMinisters.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function isEnabledByDefault(): bool
}

/**
* All events provided by this module.
*
* @return Collection<int,string>
*/
public function historicEventsAll(): Collection
Expand Down
2 changes: 0 additions & 2 deletions app/Module/BritishSocialHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function isEnabledByDefault(): bool
}

/**
* All events provided by this module.
*
* @return Collection<int,string>
*/
public function historicEventsAll(): Collection
Expand Down
5 changes: 0 additions & 5 deletions app/Module/CalendarMenuModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ public function title(): string
return I18N::translate('Calendar');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Calendar” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/CemeteryReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ public function title(): string
return I18N::translate('Burials');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
5 changes: 0 additions & 5 deletions app/Module/CensusAssistantModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ public function title(): string
return I18N::translate('Census assistant');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Census assistant” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/ChangeReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ public function title(): string
return I18N::translate('Changes');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
5 changes: 0 additions & 5 deletions app/Module/ChartsBlockModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ public function title(): string
return I18N::translate('Charts');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Charts” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/ChartsMenuModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ public function title(): string
return I18N::translate('Charts');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Charts” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/CheckForNewVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ public function title(): string
return I18N::translate('Check for new version');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
return I18N::translate('Send an email to all administrators when an upgrade is available.');
Expand Down
5 changes: 0 additions & 5 deletions app/Module/CkeditorModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ public function title(): string
return I18N::translate('CKEditor™');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “CKEditor” module. WYSIWYG = “what you see is what you get” */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/CompactTreeChartModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ public function title(): string
return I18N::translate('Compact tree');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “CompactTreeChart” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/ContactsFooterModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ public function title(): string
return I18N::translate('Contact information');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Contact information” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/CustomCssJsModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ class CustomCssJsModule extends AbstractModule implements ModuleConfigInterface,
use ModuleConfigTrait;
use ModuleGlobalTrait;

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “CSS and JS” module. */
Expand Down
2 changes: 0 additions & 2 deletions app/Module/CzechMonarchsAndPresidents.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function isEnabledByDefault(): bool
}

/**
* All events provided by this module.
*
* @return Collection<int,string>
*/
public function historicEventsAll(): Collection
Expand Down
5 changes: 0 additions & 5 deletions app/Module/DeathReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ public function title(): string
return I18N::translate('Deaths');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
5 changes: 0 additions & 5 deletions app/Module/DescendancyChartModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ public function title(): string
return I18N::translate('Descendants');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “DescendancyChart” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/DescendancyModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ public function title(): string
return I18N::translate('Descendants');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Descendants” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/DescendancyReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ public function title(): string
return I18N::translate('Descendants');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
2 changes: 0 additions & 2 deletions app/Module/DutchMonarchs.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function isEnabledByDefault(): bool
}

/**
* All events provided by this module.
*
* @return Collection<int,string>
*/
public function historicEventsAll(): Collection
Expand Down
2 changes: 0 additions & 2 deletions app/Module/DutchPrimeMinisters.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function isEnabledByDefault(): bool
}

/**
* All events provided by this module.
*
* @return Collection<int,string>
*/
public function historicEventsAll(): Collection
Expand Down
5 changes: 0 additions & 5 deletions app/Module/FactSourcesReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ public function title(): string
return I18N::translate('Source');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
5 changes: 0 additions & 5 deletions app/Module/FamilyBookChartModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ public function title(): string
return I18N::translate('Family book');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “FamilyBookChart” module */
Expand Down
5 changes: 0 additions & 5 deletions app/Module/FamilyGroupReportModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ public function title(): string
return I18N::translate('Family');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
// This text also appears in the .XML file - update both together
Expand Down
5 changes: 0 additions & 5 deletions app/Module/FamilyNavigatorModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ public function title(): string
return I18N::translate('Family navigator');
}

/**
* A sentence describing what this module does.
*
* @return string
*/
public function description(): string
{
/* I18N: Description of the “Family navigator” module */
Expand Down
Loading

0 comments on commit 7413816

Please sign in to comment.