Minor: Format code

pull/4140/head
Angel Fernando Quiroz Campos 4 years ago
parent d20441e96a
commit 759bf49fa2
  1. 4
      plugin/coursehomenotify/CourseHomeNotifyPlugin.php
  2. 4
      plugin/lti_provider/LtiProviderPlugin.php
  3. 4
      plugin/studentfollowup/StudentFollowUpPlugin.php
  4. 1
      plugin/whispeakauth/WhispeakAuthPlugin.php

@ -50,7 +50,7 @@ class CourseHomeNotifyPlugin extends Plugin
if ($em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) { if ($em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) {
return; return;
}; }
$schemaTool = new SchemaTool($em); $schemaTool = new SchemaTool($em);
$schemaTool->createSchema( $schemaTool->createSchema(
@ -70,7 +70,7 @@ class CourseHomeNotifyPlugin extends Plugin
$em = Database::getManager(); $em = Database::getManager();
if (!$em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) { if (!$em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) {
return; return;
} }
$schemaTool = new SchemaTool($em); $schemaTool = new SchemaTool($em);

@ -174,7 +174,7 @@ class LtiProviderPlugin extends Plugin
if ($em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) { if ($em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) {
return; return;
}; }
$schemaTool = new SchemaTool($em); $schemaTool = new SchemaTool($em);
$schemaTool->createSchema( $schemaTool->createSchema(
@ -236,7 +236,7 @@ class LtiProviderPlugin extends Plugin
if (!$em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) { if (!$em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) {
return; return;
}; }
$schemaTool = new SchemaTool($em); $schemaTool = new SchemaTool($em);
$schemaTool->dropSchema( $schemaTool->dropSchema(

@ -45,7 +45,7 @@ class StudentFollowUpPlugin extends Plugin
if ($em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) { if ($em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) {
return; return;
}; }
$schemaTool = new SchemaTool($em); $schemaTool = new SchemaTool($em);
$schemaTool->createSchema( $schemaTool->createSchema(
@ -61,7 +61,7 @@ class StudentFollowUpPlugin extends Plugin
if (!$em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) { if (!$em->getConnection()->getSchemaManager()->tablesExist(['sfu_post'])) {
return; return;
}; }
$schemaTool = new SchemaTool($em); $schemaTool = new SchemaTool($em);
$schemaTool->dropSchema( $schemaTool->dropSchema(

@ -721,6 +721,7 @@ class WhispeakAuthPlugin extends Plugin implements HookPluginInterface
/** /**
* Install the Doctrine's entities. * Install the Doctrine's entities.
*
* @throws \Doctrine\ORM\Tools\ToolsException * @throws \Doctrine\ORM\Tools\ToolsException
*/ */
private function installEntities() private function installEntities()

Loading…
Cancel
Save