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:
parent
7e396fca59
commit
d08fbac65a
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user