fix phpstan check class case (#30058)
This commit is contained in:
parent
77986d3d10
commit
6cfd7d16e6
4 changed files with 6 additions and 5 deletions
|
|
@ -2748,7 +2748,7 @@ function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldi
|
|||
}
|
||||
}
|
||||
} elseif ($object->element == 'bom') {
|
||||
/** @var Bom $object */
|
||||
/** @var BOM $object */
|
||||
'@phan-var-force Bom $object';
|
||||
$width = 80;
|
||||
$cssclass = 'photowithmargin photoref';
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
|
||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* 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
|
||||
|
|
@ -453,7 +454,7 @@ class pdf_soleil extends ModelePDFFicheinter
|
|||
* @param ?Fichinter $object FichInter Object
|
||||
* @return void
|
||||
*/
|
||||
protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0, FichInter $object = null)
|
||||
protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0, Fichinter $object = null)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ class Dolresource extends CommonObject
|
|||
*
|
||||
* @param DoliDB $db Database handler
|
||||
*/
|
||||
public function __construct(DoliDb $db)
|
||||
public function __construct(DoliDB $db)
|
||||
{
|
||||
$this->db = $db;
|
||||
$this->status = 0;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ parameters:
|
|||
checkAlwaysTrueCheckTypeFunctionCall: false
|
||||
checkAlwaysTrueInstanceof: false
|
||||
checkAlwaysTrueStrictComparison: false
|
||||
checkClassCaseSensitivity: false
|
||||
checkClassCaseSensitivity: true
|
||||
checkFunctionArgumentTypes: false
|
||||
checkFunctionNameCase: true
|
||||
checkArgumentsPassedByReference: false
|
||||
|
|
@ -36,7 +36,7 @@ parameters:
|
|||
checkNullables: false
|
||||
checkThisOnly: true
|
||||
checkUnionTypes: false
|
||||
checkExplicitMixedMissingReturn: false
|
||||
checkExplicitMixedMissingReturn: true
|
||||
reportMaybes: false
|
||||
reportMaybesInMethodSignatures: false
|
||||
reportStaticMethodSignatures: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue