Commit 94d5f89e by Damien Moulard

fix comments

parent 9497cdf1
...@@ -105,7 +105,7 @@ class CotisationUtils ...@@ -105,7 +105,7 @@ class CotisationUtils
*/ */
public function isCotisationValidForPresta(?Prestataire $presta) public function isCotisationValidForPresta(?Prestataire $presta)
{ {
// In TAV mode, cotisation is always valid. Return next year date. // In TAV mode, no standard cotisation required. Return next year date to make all accounts valid.
if ($this->container->getParameter('tav_env')) { if ($this->container->getParameter('tav_env')) {
return date('Y-m-d', strtotime('+1 year')); return date('Y-m-d', strtotime('+1 year'));
} }
...@@ -160,7 +160,7 @@ class CotisationUtils ...@@ -160,7 +160,7 @@ class CotisationUtils
*/ */
public function isCotisationValidForAdherent(?Adherent $adherent) public function isCotisationValidForAdherent(?Adherent $adherent)
{ {
// In TAV mode, cotisation is always valid. Return next year date. // In TAV mode, no standard cotisation required. Return next year date to make all accounts valid.
if ($this->container->getParameter('tav_env')) { if ($this->container->getParameter('tav_env')) {
return date('Y-m-d', strtotime('+1 year')); return date('Y-m-d', strtotime('+1 year'));
} }
...@@ -190,7 +190,7 @@ class CotisationUtils ...@@ -190,7 +190,7 @@ class CotisationUtils
*/ */
public function isCotisationValid(?UserInterface $user) public function isCotisationValid(?UserInterface $user)
{ {
// In TAV mode, cotisation is always valid. Return next year date. // In TAV mode, no standard cotisation required. Return next year date to make all accounts valid.
if ($this->container->getParameter('tav_env')) { if ($this->container->getParameter('tav_env')) {
return date('Y-m-d', strtotime('+1 year')); return date('Y-m-d', strtotime('+1 year'));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment