Skip to content

Commit

Permalink
Fix copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
tfamula committed Oct 18, 2023
1 parent 19f2407 commit affdbf4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 26 deletions.
7 changes: 3 additions & 4 deletions Modules/Test/classes/Skills/class.TestSkillDBRepository.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -16,8 +14,9 @@
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*
********************************************************************
*/
*********************************************************************/

declare(strict_types=1);

namespace ILIAS\Test\Skills;

Expand Down
13 changes: 6 additions & 7 deletions Modules/Test/classes/class.ilTestAppEventListener.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<?php

declare(strict_types=1);

use ILIAS\Test\Skills;

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -18,8 +14,11 @@
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*
********************************************************************
*/
*********************************************************************/

declare(strict_types=1);

use ILIAS\Test\Skills\TestSkillDBRepository;

/**
* @author Thomas Famula <[email protected]>
Expand All @@ -31,7 +30,7 @@ class ilTestAppEventListener implements ilAppEventListener
*/
public static function handleEvent(string $a_component, string $a_event, array $a_parameter): void
{
$test_skill_repo = new Skills\TestSkillDBRepository();
$test_skill_repo = new TestSkillDBRepository();

if ($a_component === "Services/Skill" && $a_event === "deleteSkill") {
$test_skill_repo->removeForSkill($a_parameter["node_id"], $a_parameter["is_reference"]);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -16,8 +14,9 @@
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*
********************************************************************
*/
*********************************************************************/

declare(strict_types=1);

namespace ILIAS\TestQuestionPool\Skills;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<?php

declare(strict_types=1);

use ILIAS\TestQuestionPool\Skills;

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -18,8 +14,11 @@
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*
********************************************************************
*/
*********************************************************************/

declare(strict_types=1);

use ILIAS\TestQuestionPool\Skills\TestQuestionPoolSkillDBRepository;

/**
* @author Thomas Famula <[email protected]>
Expand All @@ -31,7 +30,7 @@ class ilTestQuestionPoolAppEventListener implements ilAppEventListener
*/
public static function handleEvent(string $a_component, string $a_event, array $a_parameter): void
{
$qpl_skill_repo = new Skills\TestQuestionPoolSkillDBRepository();
$qpl_skill_repo = new TestQuestionPoolSkillDBRepository();

if ($a_component === "Services/Skill" && $a_event === "deleteSkill") {
$qpl_skill_repo->removeForSkill($a_parameter["node_id"], $a_parameter["is_reference"]);
Expand Down
7 changes: 3 additions & 4 deletions Services/Skill/Service/classes/class.SkillService.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -16,8 +14,9 @@
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*
********************************************************************
*/
*********************************************************************/

declare(strict_types=1);

namespace ILIAS\Skill\Service;

Expand Down

0 comments on commit affdbf4

Please sign in to comment.