Update and fix baseline
Backported some bits of stable21 to make Psalm happy. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
f80f7a33e8
commit
67e0b194b6
|
@ -459,7 +459,7 @@ class Crypt {
|
||||||
* @param string $passPhrase
|
* @param string $passPhrase
|
||||||
* @param string $cipher
|
* @param string $cipher
|
||||||
* @param int $version
|
* @param int $version
|
||||||
* @param int $position
|
* @param int|string $position
|
||||||
* @return string
|
* @return string
|
||||||
* @throws DecryptionFailedException
|
* @throws DecryptionFailedException
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -360,7 +360,7 @@ class Encryption implements IEncryptionModule {
|
||||||
* decrypt data
|
* decrypt data
|
||||||
*
|
*
|
||||||
* @param string $data you want to decrypt
|
* @param string $data you want to decrypt
|
||||||
* @param int $position
|
* @param int|string $position
|
||||||
* @return string decrypted data
|
* @return string decrypted data
|
||||||
* @throws DecryptionFailedException
|
* @throws DecryptionFailedException
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1130,7 +1130,7 @@
|
||||||
<FalsableReturnStatement occurrences="1">
|
<FalsableReturnStatement occurrences="1">
|
||||||
<code>$result</code>
|
<code>$result</code>
|
||||||
</FalsableReturnStatement>
|
</FalsableReturnStatement>
|
||||||
<ImplementedParamTypeMismatch occurrences="3">
|
<ImplementedParamTypeMismatch occurrences="2">
|
||||||
<code>$position</code>
|
<code>$position</code>
|
||||||
<code>$position</code>
|
<code>$position</code>
|
||||||
<code>$position</code>
|
<code>$position</code>
|
||||||
|
@ -2418,10 +2418,11 @@
|
||||||
<InvalidReturnType occurrences="1">
|
<InvalidReturnType occurrences="1">
|
||||||
<code>string[]</code>
|
<code>string[]</code>
|
||||||
</InvalidReturnType>
|
</InvalidReturnType>
|
||||||
<InvalidScalarArgument occurrences="3">
|
<InvalidScalarArgument occurrences="4">
|
||||||
<code>$key</code>
|
|
||||||
<code>$key</code>
|
|
||||||
<code>$e->getCode()</code>
|
<code>$e->getCode()</code>
|
||||||
|
<code>$key</code>
|
||||||
|
<code>$key</code>
|
||||||
|
<code>[$attr => $result['values']]</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
<NullArgument occurrences="1">
|
<NullArgument occurrences="1">
|
||||||
<code>$cookie</code>
|
<code>$cookie</code>
|
||||||
|
@ -6014,6 +6015,11 @@
|
||||||
<code>'DateTimeFormatter'</code>
|
<code>'DateTimeFormatter'</code>
|
||||||
</UndefinedClass>
|
</UndefinedClass>
|
||||||
</file>
|
</file>
|
||||||
|
<file src="lib/private/Files/Stream/Encryption.php">
|
||||||
|
<UndefinedInterfaceMethod occurrences="1">
|
||||||
|
<code>$cacheEntry</code>
|
||||||
|
</UndefinedInterfaceMethod>
|
||||||
|
</file>
|
||||||
<file src="lib/public/AppFramework/ApiController.php">
|
<file src="lib/public/AppFramework/ApiController.php">
|
||||||
<NoInterfaceProperties occurrences="1">
|
<NoInterfaceProperties occurrences="1">
|
||||||
<code>$this->request->server</code>
|
<code>$this->request->server</code>
|
||||||
|
|
|
@ -102,7 +102,7 @@ interface IEncryptionModule {
|
||||||
* decrypt data
|
* decrypt data
|
||||||
*
|
*
|
||||||
* @param string $data you want to decrypt
|
* @param string $data you want to decrypt
|
||||||
* @param string $position position of the block we want to decrypt
|
* @param int|string $position position of the block we want to decrypt
|
||||||
*
|
*
|
||||||
* @return mixed decrypted data
|
* @return mixed decrypted data
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue