fixed types in phpdocs

This commit is contained in:
Fabien Potencier 2014-04-16 12:34:42 +02:00
parent d5bd9bdd68
commit 0ecdda1770
19 changed files with 21 additions and 21 deletions

View File

@ -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()
{

View File

@ -38,7 +38,7 @@ class PropelLogger implements \BasicLogger
protected $stopwatch;
/**
* @var Boolean
* @var bool
*/
private $isPrepared = false;

View File

@ -110,7 +110,7 @@ class stdClass_c1d194250ee2e2b7d2eab8b8212368a8 extends \stdClass implements \Pr
/**
* @param string $name
*
* @return Boolean
* @return bool
*/
public function __isset($name)
{

View File

@ -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()
{

View File

@ -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()
{

View File

@ -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
*/

View File

@ -172,7 +172,7 @@ class ClassNotFoundFatalErrorHandler implements FatalErrorHandlerInterface
/**
* @param string $class
*
* @return Boolean
* @return bool
*/
private function classExists($class)
{

View File

@ -35,7 +35,7 @@ class ChoiceFormField extends FormField
*/
private $options;
/**
* @var boolean
* @var bool
*/
private $validationDisabled = false;

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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()
{

View File

@ -49,7 +49,7 @@ class MetadataBag implements SessionBagInterface
private $lastUsed;
/**
* @var integer
* @var int
*/
private $updateThreshold;

View File

@ -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
*/

View File

@ -26,12 +26,12 @@ class PropertyAccessor implements PropertyAccessorInterface
const IS_REF = 1;
/**
* @var Boolean
* @var bool
*/
private $magicCall;
/**
* @var Boolean
* @var bool
*/
private $throwExceptionOnInvalidIndex;

View File

@ -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()
{

View File

@ -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);
}

View File

@ -32,7 +32,7 @@ class UriSafeTokenGenerator implements TokenGeneratorInterface
/**
* The amount of entropy collected for each token (in bits).
*
* @var integer
* @var int
*/
private $entropy;

View File

@ -28,7 +28,7 @@ class NativeSessionTokenStorage implements TokenStorageInterface
const SESSION_NAMESPACE = '_csrf';
/**
* @var Boolean
* @var bool
*/
private $sessionStarted = false;

View File

@ -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);
}