diff options
| author | polo <ordipolo@gmx.fr> | 2025-11-14 17:16:50 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-11-14 17:16:50 +0100 |
| commit | 22da81bbcb9bb61fa484c9af6fbb667b685d2f9b (patch) | |
| tree | 8854f14c16c58997df1798958ebdd857028920ff /src/model | |
| parent | d7707261c216e3cfe68662b2a935135cd9053583 (diff) | |
| download | cms-22da81bbcb9bb61fa484c9af6fbb667b685d2f9b.tar.gz cms-22da81bbcb9bb61fa484c9af6fbb667b685d2f9b.tar.bz2 cms-22da81bbcb9bb61fa484c9af6fbb667b685d2f9b.zip | |
bricoles
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/doctrine-bootstrap.php | 2 | ||||
| -rw-r--r-- | src/model/entities/NodeData.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/model/doctrine-bootstrap.php b/src/model/doctrine-bootstrap.php index 139f410..127f72f 100644 --- a/src/model/doctrine-bootstrap.php +++ b/src/model/doctrine-bootstrap.php | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | <?php | 1 | <?php |
| 2 | // src/model/doctrine-bootstrap.php | 2 | // src/model/doctrine-bootstrap.php |
| 3 | 3 | ||
| 4 | declare(strict_types=1); | ||
| 5 | |||
| 4 | use Doctrine\ORM\ORMSetup; | 6 | use Doctrine\ORM\ORMSetup; |
| 5 | use Doctrine\DBAL\DriverManager; | 7 | use Doctrine\DBAL\DriverManager; |
| 6 | use Doctrine\ORM\EntityManager; | 8 | use Doctrine\ORM\EntityManager; |
diff --git a/src/model/entities/NodeData.php b/src/model/entities/NodeData.php index 85cc0a6..b25b540 100644 --- a/src/model/entities/NodeData.php +++ b/src/model/entities/NodeData.php | |||
| @@ -13,7 +13,7 @@ use Doctrine\Common\Collections\Collection; // interface | |||
| 13 | #[ORM\Table(name: TABLE_PREFIX . "node_data")] | 13 | #[ORM\Table(name: TABLE_PREFIX . "node_data")] |
| 14 | class NodeData | 14 | class NodeData |
| 15 | { | 15 | { |
| 16 | static array $social_networks = ['facebook', 'instagram', 'whatsapp', 'snapchat', 'tiktok', 'linkedin', 'github']; // à completer | 16 | static array $social_networks = ['globe', 'facebook', 'instagram', 'whatsapp', 'snapchat', 'tiktok', 'linkedin', 'github']; // à completer |
| 17 | 17 | ||
| 18 | #[ORM\Id] | 18 | #[ORM\Id] |
| 19 | #[ORM\GeneratedValue] | 19 | #[ORM\GeneratedValue] |
