From 759bf49fa291e3e883c9061925e05a4f4e0d4d1f Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Wed, 9 Feb 2022 10:55:42 -0500 Subject: [PATCH] Minor: Format code --- plugin/coursehomenotify/CourseHomeNotifyPlugin.php | 4 ++-- plugin/lti_provider/LtiProviderPlugin.php | 4 ++-- plugin/studentfollowup/StudentFollowUpPlugin.php | 4 ++-- plugin/whispeakauth/WhispeakAuthPlugin.php | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/plugin/coursehomenotify/CourseHomeNotifyPlugin.php b/plugin/coursehomenotify/CourseHomeNotifyPlugin.php index 8c11dca666..2429756e27 100644 --- a/plugin/coursehomenotify/CourseHomeNotifyPlugin.php +++ b/plugin/coursehomenotify/CourseHomeNotifyPlugin.php @@ -50,7 +50,7 @@ class CourseHomeNotifyPlugin extends Plugin if ($em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) { return; - }; + } $schemaTool = new SchemaTool($em); $schemaTool->createSchema( @@ -70,7 +70,7 @@ class CourseHomeNotifyPlugin extends Plugin $em = Database::getManager(); if (!$em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) { - return; + return; } $schemaTool = new SchemaTool($em); diff --git a/plugin/lti_provider/LtiProviderPlugin.php b/plugin/lti_provider/LtiProviderPlugin.php index 4725600811..a2e1d4d549 100644 --- a/plugin/lti_provider/LtiProviderPlugin.php +++ b/plugin/lti_provider/LtiProviderPlugin.php @@ -174,7 +174,7 @@ class LtiProviderPlugin extends Plugin if ($em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) { return; - }; + } $schemaTool = new SchemaTool($em); $schemaTool->createSchema( @@ -236,7 +236,7 @@ class LtiProviderPlugin extends Plugin if (!$em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) { return; - }; + } $schemaTool = new SchemaTool($em); $schemaTool->dropSchema( diff --git a/plugin/studentfollowup/StudentFollowUpPlugin.php b/plugin/studentfollowup/StudentFollowUpPlugin.php index d1b77539fd..7f41865ceb 100644 --- a/plugin/studentfollowup/StudentFollowUpPlugin.php +++ b/plugin/studentfollowup/StudentFollowUpPlugin.php @@ -45,7 +45,7 @@ class StudentFollowUpPlugin extends Plugin if ($em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) { return; - }; + } $schemaTool = new SchemaTool($em); $schemaTool->createSchema( @@ -61,7 +61,7 @@ class StudentFollowUpPlugin extends Plugin if (!$em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) { return; - }; + } $schemaTool = new SchemaTool($em); $schemaTool->dropSchema( diff --git a/plugin/whispeakauth/WhispeakAuthPlugin.php b/plugin/whispeakauth/WhispeakAuthPlugin.php index e8b97a1c11..3b8517d751 100644 --- a/plugin/whispeakauth/WhispeakAuthPlugin.php +++ b/plugin/whispeakauth/WhispeakAuthPlugin.php @@ -721,6 +721,7 @@ class WhispeakAuthPlugin extends Plugin implements HookPluginInterface /** * Install the Doctrine's entities. + * * @throws \Doctrine\ORM\Tools\ToolsException */ private function installEntities()