fix(continuous-integration): correction point phpstan de level 1
All checks were successful
Cadoles/nineskeletor/pipeline/pr-master This commit looks good
All checks were successful
Cadoles/nineskeletor/pipeline/pr-master This commit looks good
This commit is contained in:
@ -347,7 +347,10 @@ class GroupController extends AbstractController
|
||||
$draw= $query['draw'];
|
||||
$ordercolumn=$query['order'][0]['column'];
|
||||
$orderdir=$query['order'][0]['dir'];
|
||||
|
||||
$usermodo=null;
|
||||
$niveau01=null;
|
||||
$niveau02=null;
|
||||
|
||||
// Nombre total d'enregistrement
|
||||
$qb = $em->getManager()->createQueryBuilder();
|
||||
switch($access) {
|
||||
@ -391,6 +394,7 @@ class GroupController extends AbstractController
|
||||
break;
|
||||
}
|
||||
$total=$qb->getQuery()->getSingleScalarResult();
|
||||
$totalf=null;
|
||||
|
||||
// Nombre d'enregistrement filtré
|
||||
if($search["value"]=="")
|
||||
@ -545,7 +549,8 @@ class GroupController extends AbstractController
|
||||
$draw= $query['draw'];
|
||||
$ordercolumn=$query['order'][0]['column'];
|
||||
$orderdir=$query['order'][0]['dir'];
|
||||
|
||||
$usermodo=null;
|
||||
|
||||
// Nombre total d'enregistrement
|
||||
$qb = $em->getManager()->createQueryBuilder();
|
||||
if($access=="admin"||$access=="user")
|
||||
@ -785,6 +790,7 @@ class GroupController extends AbstractController
|
||||
}
|
||||
|
||||
private function canseemember($access,$entity,$em,$fgblock=true) {
|
||||
$toreturn=false;
|
||||
switch($access) {
|
||||
case "admin" : $toreturn=($entity->getId()>0); break;
|
||||
case "modo" : $toreturn=($entity->getId()>0); break;
|
||||
|
Reference in New Issue
Block a user