diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/CourseWizardStepRegistry.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/CourseWizardStepRegistry.php')
| -rw-r--r-- | lib/models/CourseWizardStepRegistry.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/models/CourseWizardStepRegistry.php b/lib/models/CourseWizardStepRegistry.php index 4f9eb6fc..5630832 100644 --- a/lib/models/CourseWizardStepRegistry.php +++ b/lib/models/CourseWizardStepRegistry.php @@ -16,7 +16,6 @@ class CourseWizardStepRegistry extends SimpleORMap { - protected static function configure($config = []) { $config['db_table'] = 'coursewizardsteps'; @@ -36,8 +35,7 @@ class CourseWizardStepRegistry extends SimpleORMap public static function unregisterStep($id) { $step = self::find($id); - if ($step) - { + if ($step) { return $step->delete(); } return true; @@ -48,4 +46,4 @@ class CourseWizardStepRegistry extends SimpleORMap return sizeof(self::findBySQL("`enabled`=1")) > 0 ? true : false; } -}
\ No newline at end of file +} |
