Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Sep 16, 2024
1 parent f2c51f4 commit 9c0ef97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2019,13 +2019,13 @@
];
$ignoreErrors[] = [
// identifier: return.type
'message' => '#^Method Glpi\\\\Asset\\\\AssetModel\\:\\:getById\\(\\) should return static\\(Glpi\\\\Asset\\\\AssetModel\\)\\|false but returns object\\.$#',
'message' => '#^Method Glpi\\\\Asset\\\\AssetModel\\:\\:getById\\(\\) should return static\\(Glpi\\\\Asset\\\\AssetModel\\)\\|false but returns CommonDBTM\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Glpi/Asset/AssetModel.php',
];
$ignoreErrors[] = [
// identifier: return.type
'message' => '#^Method Glpi\\\\Asset\\\\AssetType\\:\\:getById\\(\\) should return static\\(Glpi\\\\Asset\\\\AssetType\\)\\|false but returns object\\.$#',
'message' => '#^Method Glpi\\\\Asset\\\\AssetType\\:\\:getById\\(\\) should return static\\(Glpi\\\\Asset\\\\AssetType\\)\\|false but returns CommonDBTM\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Glpi/Asset/AssetType.php',
];
Expand Down

0 comments on commit 9c0ef97

Please sign in to comment.