fixed types in phpdocs
This commit is contained in:
parent
d5bd9bdd68
commit
0ecdda1770
@ -167,7 +167,7 @@ class ConsoleHandler extends AbstractProcessingHandler implements EventSubscribe
|
||||
/**
|
||||
* Updates the logging level based on the verbosity setting of the console output.
|
||||
*
|
||||
* @return Boolean Whether the handler is enabled and verbosity is not set to quiet.
|
||||
* @return bool Whether the handler is enabled and verbosity is not set to quiet.
|
||||
*/
|
||||
private function updateLevel()
|
||||
{
|
||||
|
@ -38,7 +38,7 @@ class PropelLogger implements \BasicLogger
|
||||
protected $stopwatch;
|
||||
|
||||
/**
|
||||
* @var Boolean
|
||||
* @var bool
|
||||
*/
|
||||
private $isPrepared = false;
|
||||
|
||||
|
@ -110,7 +110,7 @@ class stdClass_c1d194250ee2e2b7d2eab8b8212368a8 extends \stdClass implements \Pr
|
||||
/**
|
||||
* @param string $name
|
||||
*
|
||||
* @return Boolean
|
||||
* @return bool
|
||||
*/
|
||||
public function __isset($name)
|
||||
{
|
||||
|
@ -119,7 +119,7 @@ class ApplicationTester
|
||||
/**
|
||||
* Gets the status code returned by the last execution of the application.
|
||||
*
|
||||
* @return integer The status code
|
||||
* @return int The status code
|
||||
*/
|
||||
public function getStatusCode()
|
||||
{
|
||||
|
@ -123,7 +123,7 @@ class CommandTester
|
||||
/**
|
||||
* Gets the status code returned by the last execution of the application.
|
||||
*
|
||||
* @return integer The status code
|
||||
* @return int The status code
|
||||
*/
|
||||
public function getStatusCode()
|
||||
{
|
||||
|
@ -110,7 +110,7 @@ class DebugClassLoader
|
||||
*
|
||||
* @param string $class The name of the class
|
||||
*
|
||||
* @return Boolean|null True, if loaded
|
||||
* @return bool|null True, if loaded
|
||||
*
|
||||
* @throws \RuntimeException
|
||||
*/
|
||||
|
@ -172,7 +172,7 @@ class ClassNotFoundFatalErrorHandler implements FatalErrorHandlerInterface
|
||||
/**
|
||||
* @param string $class
|
||||
*
|
||||
* @return Boolean
|
||||
* @return bool
|
||||
*/
|
||||
private function classExists($class)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ class ChoiceFormField extends FormField
|
||||
*/
|
||||
private $options;
|
||||
/**
|
||||
* @var boolean
|
||||
* @var bool
|
||||
*/
|
||||
private $validationDisabled = false;
|
||||
|
||||
|
@ -59,7 +59,7 @@ class Token
|
||||
* @param array|int $type The type to test
|
||||
* @param string|null $value The token value
|
||||
*
|
||||
* @return Boolean
|
||||
* @return bool
|
||||
*/
|
||||
public function test($type, $value = null)
|
||||
{
|
||||
|
@ -250,7 +250,7 @@ class NumberToLocalizedStringTransformer implements DataTransformerInterface
|
||||
*
|
||||
* @param int|float $number A number.
|
||||
*
|
||||
* @return integer|float The rounded number.
|
||||
* @return int|float The rounded number.
|
||||
*/
|
||||
private function round($number)
|
||||
{
|
||||
|
@ -148,7 +148,7 @@ class AttributeBag implements AttributeBagInterface, \IteratorAggregate, \Counta
|
||||
/**
|
||||
* Returns the number of attributes.
|
||||
*
|
||||
* @return integer The number of attributes
|
||||
* @return int The number of attributes
|
||||
*/
|
||||
public function count()
|
||||
{
|
||||
|
@ -49,7 +49,7 @@ class MetadataBag implements SessionBagInterface
|
||||
private $lastUsed;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
* @var int
|
||||
*/
|
||||
private $updateThreshold;
|
||||
|
||||
|
@ -90,7 +90,7 @@ class KernelEvent extends Event
|
||||
/**
|
||||
* Checks if this is a master request.
|
||||
*
|
||||
* @return Boolean True if the request is a master request
|
||||
* @return bool True if the request is a master request
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -26,12 +26,12 @@ class PropertyAccessor implements PropertyAccessorInterface
|
||||
const IS_REF = 1;
|
||||
|
||||
/**
|
||||
* @var Boolean
|
||||
* @var bool
|
||||
*/
|
||||
private $magicCall;
|
||||
|
||||
/**
|
||||
* @var Boolean
|
||||
* @var bool
|
||||
*/
|
||||
private $throwExceptionOnInvalidIndex;
|
||||
|
||||
|
@ -24,7 +24,7 @@ class PropertyAccessorBuilder
|
||||
private $magicCall = false;
|
||||
|
||||
/**
|
||||
* @var Boolean
|
||||
* @var bool
|
||||
*/
|
||||
private $throwExceptionOnInvalidIndex = false;
|
||||
|
||||
@ -85,7 +85,7 @@ class PropertyAccessorBuilder
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Boolean true is exceptions in read context for array is enabled
|
||||
* @return bool true is exceptions in read context for array is enabled
|
||||
*/
|
||||
public function isExceptionOnInvalidIndexEnabled()
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ interface CsrfTokenManagerInterface
|
||||
*
|
||||
* @param CsrfToken $token A CSRF token
|
||||
*
|
||||
* @return Boolean Returns true if the token is valid, false otherwise
|
||||
* @return bool Returns true if the token is valid, false otherwise
|
||||
*/
|
||||
public function isTokenValid(CsrfToken $token);
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ class UriSafeTokenGenerator implements TokenGeneratorInterface
|
||||
/**
|
||||
* The amount of entropy collected for each token (in bits).
|
||||
*
|
||||
* @var integer
|
||||
* @var int
|
||||
*/
|
||||
private $entropy;
|
||||
|
||||
|
@ -28,7 +28,7 @@ class NativeSessionTokenStorage implements TokenStorageInterface
|
||||
const SESSION_NAMESPACE = '_csrf';
|
||||
|
||||
/**
|
||||
* @var Boolean
|
||||
* @var bool
|
||||
*/
|
||||
private $sessionStarted = false;
|
||||
|
||||
|
@ -53,7 +53,7 @@ interface TokenStorageInterface
|
||||
*
|
||||
* @param string $tokenId The token ID
|
||||
*
|
||||
* @return Boolean Whether a token exists with the given ID
|
||||
* @return bool Whether a token exists with the given ID
|
||||
*/
|
||||
public function hasToken($tokenId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user