Skip to content

Commit 1090cb7

Browse files
authored
Merge pull request ecamp#5384 from pmattmann/bugfix/minors
Minor php bugfixes
2 parents 397db84 + 8e718c5 commit 1090cb7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

api/src/Entity/ContentNode/MaterialNode.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ class MaterialNode extends ContentNode {
5858
public function __construct() {
5959
parent::__construct();
6060
$this->materialItems = new ArrayCollection();
61-
62-
parent::__construct();
6361
}
6462

6563
/**

api/src/Repository/MaterialItemRepository.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* @method MaterialItem[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
2020
*/
2121
class MaterialItemRepository extends ServiceEntityRepository implements CanFilterByUserInterface {
22-
use FiltersByCampCollaboration;
23-
2422
public function __construct(ManagerRegistry $registry) {
2523
parent::__construct($registry, MaterialItem::class);
2624
}

0 commit comments

Comments
 (0)