From 46f0f0a6f6fd25134a22859084784c2e7047d1a7 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 27 Aug 2017 20:52:44 +0300 Subject: [PATCH] Updated stubs regarding to the 3.2.2 version --- src/Phalcon/Security.php | 5 ++++- src/Phalcon/di/Service.php | 2 +- src/Phalcon/security/Random.php | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Phalcon/Security.php b/src/Phalcon/Security.php index 633a50da..03661177 100644 --- a/src/Phalcon/Security.php +++ b/src/Phalcon/Security.php @@ -231,15 +231,18 @@ public function getDefaultHash() {} /** * Testing for LibreSSL * + * @deprecated Will be removed in 4.0.0 * @return bool */ public function hasLibreSsl() {} /** - * Getting OpenSSL or LibreSSL version + * Getting OpenSSL or LibreSSL version. * * Parse OPENSSL_VERSION_TEXT because OPENSSL_VERSION_NUMBER is no use for LibreSSL. + * This constant show not the current system openssl library version but version PHP was compiled with. * + * @deprecated Will be removed in 4.0.0 * @link https://bugs.php.net/bug.php?id=71143 * * diff --git a/src/Phalcon/di/Service.php b/src/Phalcon/di/Service.php index dd4630d7..a23651e1 100644 --- a/src/Phalcon/di/Service.php +++ b/src/Phalcon/di/Service.php @@ -14,7 +14,7 @@ * ); * * $request = service->resolve(); - * + * */ class Service implements \Phalcon\Di\ServiceInterface { diff --git a/src/Phalcon/security/Random.php b/src/Phalcon/security/Random.php index ad4ff55a..843d8b85 100644 --- a/src/Phalcon/security/Random.php +++ b/src/Phalcon/security/Random.php @@ -149,7 +149,7 @@ public function base58($len = null) {} * It is similar to `Phalcon\Security\Random:base58` but has been modified to provide the largest value that can * safely be used in URLs without needing to take extra characters into consideration because it is [A-Za-z0-9]. * - * < code> + * * $random = new \Phalcon\Security\Random(); * * echo $random->base62(); // z0RkwHfh8ErDM1xw