29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-27 07:33:41 +00:00

Fix exceptions are global

This commit is contained in:
George Wilson 2022-12-13 13:23:51 +00:00 committed by GitHub
parent 7e396fca59
commit d08fbac65a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,8 +131,8 @@ final class DemoTasks extends CMSPlugin implements SubscriberInterface
*
* @return integer The routine exit code.
*
* @since 4.1.0
* @throws Exception
* @since 4.1.0
* @throws \Exception
*/
private function sleep(ExecuteTaskEvent $event): int
{
@ -152,8 +152,8 @@ final class DemoTasks extends CMSPlugin implements SubscriberInterface
*
* @return integer The routine exit code.
*
* @since 4.1.0
* @throws Exception
* @since 4.1.0
* @throws \Exception
*/
private function stressMemory(ExecuteTaskEvent $event): int
{
@ -179,8 +179,8 @@ final class DemoTasks extends CMSPlugin implements SubscriberInterface
*
* @return integer The routine exit code.
*
* @since 4.1.0
* @throws Exception
* @since 4.1.0
* @throws \Exception
*/
private function stressMemoryRemoveLimit(ExecuteTaskEvent $event): int
{