mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-05 22:36:26 +02:00
fix codestyle
This commit is contained in:
parent
350dbb5b59
commit
adef27f862
37 changed files with 556 additions and 488 deletions
|
@ -17,7 +17,7 @@ namespace controllers\internals;
|
|||
|
||||
public function __construct(?\PDO $bdd = null)
|
||||
{
|
||||
if ($bdd === null)
|
||||
if (null === $bdd)
|
||||
{
|
||||
$bdd = \descartes\Model::_connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue