Align bindParam() parameters

Hello,

is there a way to auto-align parameters of followings bindParam() lines ?
Something from this :

 
$q = $bdd->prepare($query);
$q
->bindParam("id_carte_joueur_base", $infos_carte['ID_carte_joueur_base'], PDO::PARAM_INT);
$q
->bindParam("level", $infos_carte['level'], PDO::PARAM_INT);
$q
->bindParam("id_membre", $infos_carte['ID_membre'], PDO::PARAM_INT);
$q
->bindParam("dribble", $infos_carte['dribble'], PDO::PARAM_INT);
 

to this :

$q = $bdd->prepare($query);
$q->bindParam("id_carte_joueur_base", $infos_carte['ID_carte_joueur_base'], PDO::PARAM_INT);
$q->bindParam("level"               , $infos_carte['level']               , PDO::PARAM_INT);
$q->bindParam("id_membre"           , $infos_carte['ID_membre']           , PDO::PARAM_INT);
$q->bindParam("dribble"             , $infos_carte['dribble']             , PDO::PARAM_INT);

Please sign in to leave a comment.