AsymmetricKey: visibility fixes

This commit is contained in:
terrafrost 2017-09-30 07:58:07 +01:00
parent fc6a97083c
commit af6048b48e

View File

@ -301,7 +301,7 @@ abstract class AsymmetricKey
* @param string $type * @param string $type
* @return array|bool * @return array|bool
*/ */
protected function load($key, $type) public function load($key, $type)
{ {
$components = false; $components = false;
if ($type === false) { if ($type === false) {
@ -341,7 +341,7 @@ abstract class AsymmetricKey
* @param string $type * @param string $type
* @return array|bool * @return array|bool
*/ */
protected function setPublicKey($key, $type) public function setPublicKey($key, $type)
{ {
$components = false; $components = false;
if ($type === false) { if ($type === false) {