phpan/phpstan clean up runs, minor update to DB\IO
DB\IO dbReturn method has a third parameter to set read only assoc and not number data from the query Install basic composer for trying out psalm setting phpan/phpstan for basic static checking and do basic clean up on all of the files
This commit is contained in:
@@ -35,8 +35,9 @@ class L10n extends \CoreLibs\Basic
|
||||
private $input;
|
||||
private $l10n;
|
||||
|
||||
public function __construct(string $lang = '', string $path = '')
|
||||
public function __construct(string $lang = '', string $path = '', int $set_control_flag = 0)
|
||||
{
|
||||
parent::__construct($set_control_flag);
|
||||
if (!$lang) {
|
||||
$this->lang = 'en';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user