Skip to content

Commit

Permalink
Fix issues found by phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
ralflang committed Oct 18, 2021
1 parent ce9f72d commit aa0e86a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/HordeReconfigureCommand.php
Expand Up @@ -22,7 +22,7 @@ protected function configure()
);
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
// Get installed packages of types handled by installer
$hordeApps = InstalledVersions::getInstalledPackagesByType('horde-application');
Expand All @@ -37,5 +37,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln('Linking app configs to /web Dir');
$output->writeln('Linking javascript tree to /web/js');
$output->writeln('Linking themes tree to /web/themes');
return 0;
}
}
1 change: 1 addition & 0 deletions src/ThemesCatalog.php
Expand Up @@ -12,6 +12,7 @@ class ThemesCatalog
{
protected $rootDir;
protected $catalog;
protected string $themesFile;

public function __construct(string $rootDir)
{
Expand Down
2 changes: 2 additions & 0 deletions src/ThemesHandler.php
Expand Up @@ -28,6 +28,8 @@ class ThemesHandler
*/
public $themesCatalog;

protected string $themesDir;

public function __construct(Filesystem $filesystem, string $rootDir)
{
$this->filesystem = $filesystem;
Expand Down

0 comments on commit aa0e86a

Please sign in to comment.