Skip to content

Commit

Permalink
fixed: PHP 8.2,PHP Fatal error: Type of Workbunny\WebmanSharedCache\C…
Browse files Browse the repository at this point in the history
…ommands\WorkbunnyWebmanSharedCacheEnable::$defaultName must not be defined (as in class Workbunny\WebmanSharedCache\Commands\AbstractCommand) in /app/vendor/workbunny/webman-shared-cache/src/Commands/WorkbunnyWebmanSharedCacheEnable.php on line 11
  • Loading branch information
chengwei committed Sep 24, 2024
1 parent 101dda4 commit 011311c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Commands/WorkbunnyWebmanSharedCacheClean.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

class WorkbunnyWebmanSharedCacheClean extends AbstractCommand
{
protected static string $defaultName = 'workbunny:shared-cache-clean';
protected static string $defaultDescription = 'Remove all workbunny/webman-shared-cache caches. ';
protected static $defaultName = 'workbunny:shared-cache-clean';
protected static $defaultDescription = 'Remove all workbunny/webman-shared-cache caches. ';

/**
* @return void
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/WorkbunnyWebmanSharedCacheEnable.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

class WorkbunnyWebmanSharedCacheEnable extends AbstractCommand
{
protected static string $defaultName = 'workbunny:shared-cache-enable';
protected static string $defaultDescription = 'Enable APCu cache with specified settings. ';
protected static $defaultName = 'workbunny:shared-cache-enable';
protected static $defaultDescription = 'Enable APCu cache with specified settings. ';

/**
* @return void
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/WorkbunnyWebmanSharedCacheHRecycle.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

class WorkbunnyWebmanSharedCacheHRecycle extends AbstractCommand
{
protected static string $defaultName = 'workbunny:shared-cache-hrecycle';
protected static string $defaultDescription = 'Manually recycle expired hashKeys. ';
protected static $defaultName = 'workbunny:shared-cache-hrecycle';
protected static $defaultDescription = 'Manually recycle expired hashKeys. ';

/**
* @return void
Expand Down

0 comments on commit 011311c

Please sign in to comment.