mirror of
https://github.com/predis/predis.git
synced 2026-09-14 20:37:29 +00:00
Replace remaining occurrences of "boolean" with "bool" in phpdocs.
[ci skip]
This commit is contained in:
@@ -36,7 +36,7 @@ class Autoloader
|
||||
/**
|
||||
* Registers the autoloader class with the PHP SPL autoloader.
|
||||
*
|
||||
* @param boolean $prepend Prepend the autoloader on the stack instead of appending it.
|
||||
* @param bool $prepend Prepend the autoloader on the stack instead of appending it.
|
||||
*/
|
||||
public static function register($prepend = false)
|
||||
{
|
||||
|
||||
@@ -95,7 +95,7 @@ class HashRing implements DistributorInterface, HashGeneratorInterface
|
||||
/**
|
||||
* Returns the initialization status of the distributor.
|
||||
*
|
||||
* @return Boolean
|
||||
* @return bool
|
||||
*/
|
||||
private function isInitialized()
|
||||
{
|
||||
|
||||
@@ -348,8 +348,8 @@ class PredisStrategy implements StrategyInterface
|
||||
/**
|
||||
* Checks if the specified array of keys will generate the same hash.
|
||||
*
|
||||
* @param array $keys Array of keys.
|
||||
* @return Boolean
|
||||
* @param array $keys Array of keys.
|
||||
* @return bool
|
||||
*/
|
||||
protected function checkSameHashForKeys(array $keys)
|
||||
{
|
||||
|
||||
@@ -70,7 +70,7 @@ class ZSetRange extends Command
|
||||
/**
|
||||
* Checks for the presence of the WITHSCORES modifier.
|
||||
*
|
||||
* @return Boolean
|
||||
* @return bool
|
||||
*/
|
||||
protected function withScores()
|
||||
{
|
||||
|
||||
@@ -52,7 +52,7 @@ abstract class CommunicationException extends PredisException
|
||||
/**
|
||||
* Indicates if the receiver should reset the underlying connection.
|
||||
*
|
||||
* @return Boolean
|
||||
* @return bool
|
||||
*/
|
||||
public function shouldResetConnection()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user