Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
constant_time_encoding
Commits
9c3177f6
Commit
9c3177f6
authored
6 years ago
by
Paragon Initiative Enterprises
Browse files
Options
Download
Patches
Plain Diff
Redundant conditions are fine.
parent
392f922e
master
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.5.0
v2.4.0
v2.3.0
v2.2.3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Base32.php
+1
-0
src/Base32.php
src/Base64.php
+1
-0
src/Base64.php
with
2 additions
and
0 deletions
+2
-0
src/Base32.php
+
1
−
0
View file @
9c3177f6
...
...
@@ -191,6 +191,7 @@ abstract class Base32 implements EncoderInterface
* @param bool $strictPadding
* @return string
* @throws \TypeError
* @psalm-suppress RedundantCondition
*/
protected
static
function
doDecode
(
string
$src
,
bool
$upper
=
false
,
bool
$strictPadding
=
false
):
string
{
...
...
This diff is collapsed.
Click to expand it.
src/Base64.php
+
1
−
0
View file @
9c3177f6
...
...
@@ -121,6 +121,7 @@ abstract class Base64 implements EncoderInterface
* @return string
* @throws \RangeException
* @throws \TypeError
* @psalm-suppress RedundantCondition
*/
public
static
function
decode
(
string
$src
,
bool
$strictPadding
=
false
):
string
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets