mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
N°9144 Fix static analysis issues (#885)
* N°9144 Fix static analysis issues with phpstan * up to level 1 for all setup files * up to level 5 for all wizardsteps
This commit is contained in:
@@ -29,7 +29,7 @@ if (!class_exists('DOMDocument')) {
|
||||
*/
|
||||
class DOMDocument
|
||||
{
|
||||
public function __construct()
|
||||
public function __construct(string $version = "1.0", string $encoding = "")
|
||||
{
|
||||
throw new Exception('The dom extension is not enabled');
|
||||
}
|
||||
@@ -45,7 +45,7 @@ if (!class_exists('DOMElement')) {
|
||||
*/
|
||||
class DOMElement
|
||||
{
|
||||
public function __construct()
|
||||
public function __construct(string $qualifiedName, ?string $value = null, string $namespace = "")
|
||||
{
|
||||
throw new Exception('The dom extension is not enabled');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user