1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

PHPStan and StyleCI fixes

- Updated PhpStan PHP version option to match project.
- Applied StyleCI changes.
- Updated static to self in WebhookFormatter, following static analysis
  guidance.
- Fixed mis-matched header tags.
This commit is contained in:
Dan Brown
2022-03-28 11:31:06 +01:00
parent 038015f852
commit 078e8e7dc3
6 changed files with 8 additions and 8 deletions

View File

@ -67,7 +67,7 @@ class SettingController extends Controller
}
// Clear logo image if requested
if ($category === 'customization' && $request->get('app_logo_reset', null)) {
if ($category === 'customization' && $request->get('app_logo_reset', null)) {
$this->imageRepo->destroyByType('system');
setting()->remove('app-logo');
}