[phpMyAdmin Git] [phpmyadmin/phpmyadmin] bed84b: Add type-hints to prevent a type error

William Desportes williamdes at wdes.fr
Tue Dec 17 23:34:37 CET 2019


Branch: refs/heads/QA_5_0
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: bed84bbf58969724f76e03a078ed6e18eca00f5d
https://github.com/phpmyadmin/phpmyadmin/commit/bed84bbf58969724f76e03a078ed6e18eca00f5d
Author: William Desportes <williamdes at wdes.fr>
Date: 2019-12-17 (Tue, 12 December 2019) +01:00

Changed paths: 
M libraries/classes/Twig/MessageExtension.php

Log Message:
-----------
Add type-hints to prevent a type error

Uncaught TypeError: Argument 1 passed to PhpMyAdmin\Message::notice() must be of the type string, object given

This error only occurs because of 4bb10d2ed35f3e71f7798a98100fae9107385378 that changed filter to apply

Signed-off-by: William Desportes <williamdes at wdes.fr>



More information about the Git mailing list