Loading src/DbalLogger.php +2 −3 Original line number Diff line number Diff line Loading @@ -11,13 +11,12 @@ class DbalLogger extends Logger\DbalLogger { function __construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null) { parent::__construct($logger, $stopwatch); error_log("construct"); } /** * {@inheritdoc} */ public function startQuery($sql, array $params = null, array $types = null) public function startQuery($sql, ?array $params = null, ?array $types = null) : void { if (null !== $this->logger) { if (null === $this->stopwatch) Loading @@ -29,7 +28,7 @@ class DbalLogger extends Logger\DbalLogger { /** * {@inheritdoc} */ public function stopQuery() public function stopQuery(): void { if (null !== $this->logger) { if (null === $this->stopwatch) { Loading Loading
src/DbalLogger.php +2 −3 Original line number Diff line number Diff line Loading @@ -11,13 +11,12 @@ class DbalLogger extends Logger\DbalLogger { function __construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null) { parent::__construct($logger, $stopwatch); error_log("construct"); } /** * {@inheritdoc} */ public function startQuery($sql, array $params = null, array $types = null) public function startQuery($sql, ?array $params = null, ?array $types = null) : void { if (null !== $this->logger) { if (null === $this->stopwatch) Loading @@ -29,7 +28,7 @@ class DbalLogger extends Logger\DbalLogger { /** * {@inheritdoc} */ public function stopQuery() public function stopQuery(): void { if (null !== $this->logger) { if (null === $this->stopwatch) { Loading