File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ public function crypt(Target $target, Result $result)
100100
101101 $ result ->warn ($ name . ': The ' . $ this ->algorithm . ' algorithm is considered weak ' );
102102 }
103-
104- return parent ::crypt ($ target , $ result );
103+ parent ::crypt ($ target , $ result );
105104 }
106105
107106
@@ -115,10 +114,15 @@ public function simulate(Target $target, Result $result)
115114
116115 $ result ->warn ($ name . ': The ' . $ this ->algorithm . ' algorithm is considered weak ' );
117116 }
118-
119- return parent ::simulate ($ target , $ result );
117+ parent ::simulate ($ target , $ result );
120118 }
121119
120+ /**
121+ * Is the configured cipher secure enough
122+ *
123+ * @return bool
124+ * @throws \phpbu\App\Backup\Crypter\Exception
125+ */
122126 public function isUsingWeakAlgorithm (): bool
123127 {
124128 if (null === $ this ->algorithm ) {
You can’t perform that action at this time.
0 commit comments