Commit 30903a9
fix(encryption): Fix type error for unencryptedSize property
The Stream\Encryption::$unencryptedSize property was typed as ?int,
but fixUnencryptedSize() returns int|float for large files. This
caused TypeErrors when the verifyUnencryptedSize() fix triggered
recalculation.
Changed property type from ?int to int|float|null to match the
return type of fixUnencryptedSize().
Fixes:
- EncryptionMasterKeyUploadTest::testUploadOverWrite
- EncryptionUploadTest::testUploadOverWrite
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 (1M context) <[email protected]>
Signed-off-by: Stephen Cuppett <[email protected]>1 parent 5cc61e4 commit 30903a9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments