Skip to content
Snippets Groups Projects
Commit 3f02fa34 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Adaptation php8.4

parent 9c6c02f6
No related branches found
No related tags found
No related merge requests found
Pipeline #39596 passed
...@@ -8,7 +8,7 @@ namespace UnicaenCode\DBAL\Logging; ...@@ -8,7 +8,7 @@ namespace UnicaenCode\DBAL\Logging;
*/ */
class DebugStack extends \Doctrine\DBAL\Logging\DebugStack class DebugStack extends \Doctrine\DBAL\Logging\DebugStack
{ {
public function startQuery($sql, array $params = null, array $types = null) public function startQuery($sql, ?array $params = null, ?array $types = null)
{ {
parent::startQuery($sql, $params, $types); parent::startQuery($sql, $params, $types);
......
...@@ -833,7 +833,7 @@ class EchoSQLLogger implements \Doctrine\DBAL\Logging\SQLLogger ...@@ -833,7 +833,7 @@ class EchoSQLLogger implements \Doctrine\DBAL\Logging\SQLLogger
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function startQuery($sql, array $params = null, array $types = null) public function startQuery($sql, ?array $params = null, ?array $types = null)
{ {
self::$queries[] = ['sql' => $sql, 'params' => $params]; self::$queries[] = ['sql' => $sql, 'params' => $params];
if ($this->display) { if ($this->display) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment