diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-11 02:03:39 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-11 02:03:39 +0300 |
commit | 1cf2d303c00567494cf11c250b89648eebe593bc (patch) | |
tree | 703313d78c4df581559c1eb40c83225db0e141e2 /psalm-baseline.xml | |
parent | a8421efd56011cb2917f358ca26bea2a7168c230 (diff) |
Refactor Plugins\Export\ExportXml::exportDefinitions method
Improve type inference of the parameters.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'psalm-baseline.xml')
-rw-r--r-- | psalm-baseline.xml | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/psalm-baseline.xml b/psalm-baseline.xml index bc3199c1c8..63a5a40ec8 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -5734,10 +5734,12 @@ <code>SessionCache::get('mysql_cur_user')</code> <code>reset($columns)</code> </MixedReturnStatement> - <MixedReturnTypeCoercion occurrences="4"> + <MixedReturnTypeCoercion occurrences="6"> + <code>$result</code> <code>$this->fetchResult($sql, null, 'Field', $link)</code> <code>$this->fetchResult($sql, null, null, $link)</code> <code>string[]</code> + <code>string[]</code> </MixedReturnTypeCoercion> <NullableReturnStatement occurrences="2"> <code>$user</code> @@ -8663,7 +8665,7 @@ </InvalidReturnType> </file> <file src="libraries/classes/Operations.php"> - <MixedArgument occurrences="35"> + <MixedArgument occurrences="33"> <code>$_POST['comment']</code> <code>$_POST['db_collation'] ?? ''</code> <code>$_POST['new_auto_increment']</code> @@ -8689,12 +8691,10 @@ <code>$event_name</code> <code>$foreignTable</code> <code>$foreignTable</code> - <code>$function_name</code> <code>$newRowFormat</code> <code>$newRowFormat</code> <code>$old_priv</code> <code>$one_query</code> - <code>$procedure_name</code> <code>$this_what ?? 'data'</code> <code>$trigger['create']</code> <code>$view</code> @@ -8756,12 +8756,11 @@ <code>$trigger['create']</code> <code>$trigger['create']</code> </MixedArrayAccess> - <MixedAssignment occurrences="17"> + <MixedAssignment occurrences="15"> <code>$GLOBALS['auto_increment']</code> <code>$arr</code> <code>$event_name</code> <code>$foreignTable</code> - <code>$function_name</code> <code>$newRowFormat</code> <code>$old_priv</code> <code>$old_priv</code> @@ -8770,7 +8769,6 @@ <code>$old_priv</code> <code>$old_priv</code> <code>$one_query</code> - <code>$procedure_name</code> <code>$this_what</code> <code>$trigger</code> <code>$view</code> @@ -9837,16 +9835,18 @@ </PossiblyUndefinedVariable> </file> <file src="libraries/classes/Plugins/Export/ExportXml.php"> - <MixedArgument occurrences="8"> + <MixedArgument occurrences="7"> <code>$code</code> <code>$col_as</code> <code>$db_charset</code> <code>$db_collation</code> - <code>$name</code> <code>$table</code> <code>$table</code> <code>$trigger['name']</code> </MixedArgument> + <MixedArgumentTypeCoercion occurrences="1"> + <code>$events</code> + </MixedArgumentTypeCoercion> <MixedArrayAccess occurrences="5"> <code>$result[$table][1]</code> <code>$result[0]['DEFAULT_CHARACTER_SET_NAME']</code> @@ -9860,18 +9860,16 @@ <MixedArrayTypeCoercion occurrences="1"> <code>$result[$table]</code> </MixedArrayTypeCoercion> - <MixedAssignment occurrences="8"> + <MixedAssignment occurrences="7"> <code>$GLOBALS['tables']</code> <code>$code</code> <code>$col_as</code> <code>$db_charset</code> <code>$db_collation</code> - <code>$name</code> <code>$table</code> <code>$trigger</code> </MixedAssignment> - <PossiblyNullArgument occurrences="2"> - <code>$sql</code> + <PossiblyNullArgument occurrences="1"> <code>$table_alias</code> </PossiblyNullArgument> <PossiblyNullOperand occurrences="35"> |