Force typing (phan) for typing checks
This commit is contained in:
parent
2a72f7fa4a
commit
e8ca20d1fe
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/* Copyright (C) 2015 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2020 Maxime DEMAREST <maxime@indelog.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -154,6 +155,7 @@ foreach ($dirmodels as $reldir) {
|
|||
require_once $dir.$filebis;
|
||||
|
||||
$module = new $classname($db);
|
||||
'@phan-var-force ModeleNumRefPayments $module';
|
||||
|
||||
// Show modules according to features level
|
||||
if ($module->version == 'development' && getDolGlobalInt('MAIN_FEATURES_LEVEL') < 2) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue