Overview
Comment: | Corriger signatures et types |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
2fef62cf7287dde721335a32f50f3a0c |
User & Date: | bohwaz on 2020-01-29 15:31:16 |
Other Links: | branch diff | manifest | tags |
Context
2020-01-29
| ||
15:31 | Référencer le bon namespace check-in: 98ab6988f4 user: bohwaz tags: dev | |
15:31 | Corriger signatures et types check-in: 2fef62cf72 user: bohwaz tags: dev | |
15:30 | Méthodes pour récupérer le dernier exercice ouvert check-in: aa4d885f5e user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Entities/Compta/Exercice.php from [f7e29fc30f] to [d63b31b5b9].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + - + - + | protected $id; protected $libelle; protected $debut; protected $fin; protected $cloture = 0; protected $_types = [ |
︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - + - + | if ($this->cloture) { throw new \LogicException('Cet exercice est déjà clôturé'); } $this->set('cloture', 1); } |