diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-02 04:48:41 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-02 04:48:41 +0300 |
commit | 0b5d7b67cff48d612e7555c5d946018f9dc15e1c (patch) | |
tree | 867e79fc604e6d62249674748d2d346960d5a59c /psalm-baseline.xml | |
parent | 81b7b74fd5db2ef0ca9b35ddd43f4f88f94ca00c (diff) |
Fix an error found by Psalm
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'psalm-baseline.xml')
-rw-r--r-- | psalm-baseline.xml | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/psalm-baseline.xml b/psalm-baseline.xml index ee9d0d347f..cd6404002a 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<files psalm-version="4.26.0@6998fabb2bf528b65777bf9941920888d23c03ac"> +<files psalm-version="4.27.0@faf106e717c37b8c81721845dba9de3d8deed8ff"> <file src="libraries/classes/Advisory/Advisor.php"> <MixedArgument occurrences="8"> <code>$matches[1]</code> @@ -5572,7 +5572,7 @@ <InvalidReturnType occurrences="1"> <code>int|bool</code> </InvalidReturnType> - <MixedArgument occurrences="48"> + <MixedArgument occurrences="47"> <code>$_SERVER['SCRIPT_NAME']</code> <code>$a</code> <code>$arrayKeys</code> @@ -5597,7 +5597,6 @@ <code>$link</code> <code>$link</code> <code>$password</code> - <code>$server</code> <code>$sql</code> <code>$table</code> <code>$table</code> @@ -13560,17 +13559,11 @@ <RedundantCastGivenDocblockType occurrences="1"> <code>(string) $version</code> </RedundantCastGivenDocblockType> - <RedundantCondition occurrences="1"> - <code>$dbname</code> - </RedundantCondition> <RedundantConditionGivenDocblockType occurrences="3"> <code>$statement->name !== null</code> <code>$statement->name !== null</code> <code>isset($statement->options)</code> </RedundantConditionGivenDocblockType> - <TypeDoesNotContainNull occurrences="1"> - <code>''</code> - </TypeDoesNotContainNull> </file> <file src="libraries/classes/Tracking.php"> <MixedArgument occurrences="47"> |