Skip to content

Commit

Permalink
Use correct priority constants in debug plugin (joomla#41714)
Browse files Browse the repository at this point in the history
  • Loading branch information
HLeithner authored Sep 12, 2023
1 parent 2875f27 commit 9226b2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/system/debug/src/Extension/Debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
use Joomla\Database\Event\ConnectionEvent;
use Joomla\Event\DispatcherInterface;
use Joomla\Event\Event;
use Joomla\Event\Priority;
use Joomla\Event\SubscriberInterface;
use Joomla\Plugin\System\Debug\DataCollector\InfoCollector;
use Joomla\Plugin\System\Debug\DataCollector\LanguageErrorsCollector;
Expand Down Expand Up @@ -146,11 +147,11 @@ public static function getSubscribedEvents(): array
'onBeforeRespond' => 'onBeforeRespond',
'onAfterRespond' => [
'onAfterRespond',
PHP_INT_MIN,
Priority::MIN,
],
ApplicationEvents::AFTER_RESPOND => [
'onAfterRespond',
PHP_INT_MIN,
Priority::MIN,
],
'onAfterDisconnect' => 'onAfterDisconnect',
];
Expand Down

0 comments on commit 9226b2f

Please sign in to comment.