diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-09 16:12:46 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-09 16:12:46 +0200 |
| commit | f2f5560339203baad7951006c5a63d10f237ee6a (patch) | |
| tree | e1f64ebea7f011f5c0b133b52f9e60aa744529b7 /src/model/entities/Prestation.php | |
| parent | 39d4558eaf5fa5fd6060a0f202b22bcec5a982dc (diff) | |
| download | AppliGestionPHP-f2f5560339203baad7951006c5a63d10f237ee6a.tar.gz AppliGestionPHP-f2f5560339203baad7951006c5a63d10f237ee6a.tar.bz2 AppliGestionPHP-f2f5560339203baad7951006c5a63d10f237ee6a.zip | |
créer un devis ne fait plus d'un prospect un client, typage dans Client
Diffstat (limited to 'src/model/entities/Prestation.php')
| -rw-r--r-- | src/model/entities/Prestation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/entities/Prestation.php b/src/model/entities/Prestation.php index ce98911..ee9b3c0 100644 --- a/src/model/entities/Prestation.php +++ b/src/model/entities/Prestation.php | |||
| @@ -40,7 +40,7 @@ class Prestation | |||
| 40 | public static EntityManager $entityManager; | 40 | public static EntityManager $entityManager; |
| 41 | 41 | ||
| 42 | 42 | ||
| 43 | public function __construct(Client $client = null) | 43 | public function __construct(?Client $client = null) |
| 44 | { | 44 | { |
| 45 | if($client != null) | 45 | if($client != null) |
| 46 | { | 46 | { |
