mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Refactoring : resolving netbeans warnings
This commit is contained in:
parent
2dc2479304
commit
3d35944613
@ -126,7 +126,7 @@ class Person {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param \Chill\PersonBundle\Entity\AccompanyingPeriod $period
|
||||
* @param \Chill\PersonBundle\Entity\AccompanyingPeriod $accompanyingPeriod
|
||||
* @uses AccompanyingPeriod::setPerson
|
||||
*/
|
||||
public function addAccompanyingPeriod(AccompanyingPeriod $accompanyingPeriod) {
|
||||
@ -164,7 +164,7 @@ class Person {
|
||||
*
|
||||
* To check if the Person and its accompanying period are consistent, use validation.
|
||||
*
|
||||
* @param AccompanyingPeriod
|
||||
* @param accompanyingPeriod
|
||||
* @throws \Exception if two lines of the accompanying period are open.
|
||||
*/
|
||||
public function close(AccompanyingPeriod $accompanyingPeriod)
|
||||
@ -596,9 +596,7 @@ class Person {
|
||||
public function checkAccompanyingPeriodIsNotCovering()
|
||||
{
|
||||
$periods = $this->getAccompanyingPeriodsOrdered();
|
||||
|
||||
$i = 0;
|
||||
|
||||
|
||||
foreach ($periods as $key => $period) {
|
||||
//accompanying period is open : we must check the arent any period after
|
||||
if ($period->isOpen()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user