Skip to content

Commit

Permalink
Updated stubs regarding to the 3.2.2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyklay committed Aug 27, 2017
1 parent 346c3ca commit 46f0f0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/Phalcon/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
* <code>
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/di/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* );
*
* $request = service->resolve();
* <code>
* </code>
*/
class Service implements \Phalcon\Di\ServiceInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/security/Random.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>
* <code>
* $random = new \Phalcon\Security\Random();
*
* echo $random->base62(); // z0RkwHfh8ErDM1xw
Expand Down

0 comments on commit 46f0f0a

Please sign in to comment.