Make OCP\Security stricter
* Add typehints
* Add return types
* Opcode opts from phpstorm
* Made strict
* Fixed tests: No need to test bogus values anymore strict typing fixes
this
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
Showing
- lib/private/Security/Crypto.php 4 additions, 3 deletionslib/private/Security/Crypto.php
- lib/private/Security/Hasher.php 9 additions, 8 deletionslib/private/Security/Hasher.php
- lib/public/Security/ICrypto.php 3 additions, 2 deletionslib/public/Security/ICrypto.php
- lib/public/Security/IHasher.php 3 additions, 2 deletionslib/public/Security/IHasher.php
- lib/public/Security/StringUtils.php 2 additions, 1 deletionlib/public/Security/StringUtils.php
- tests/lib/Security/HasherTest.php 0 additions, 4 deletionstests/lib/Security/HasherTest.php
Please register or sign in to comment