capitalized 'boolean'

This commit is contained in:
Eriksen Costa 2011-04-27 02:25:26 -03:00
parent 4db0752894
commit 164ce5210d
23 changed files with 30 additions and 30 deletions

View File

@ -33,7 +33,7 @@ class DoctrineOrmTypeGuesser implements FormTypeGuesserInterface
/** /**
* Returns whether Doctrine 2 metadata exists for that class * Returns whether Doctrine 2 metadata exists for that class
* *
* @return boolean * @return Boolean
*/ */
protected function isMappedClass($class) protected function isMappedClass($class)
{ {

View File

@ -126,7 +126,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
/** /**
* Checks if the node has a default value. * Checks if the node has a default value.
* *
* @return boolean * @return Boolean
*/ */
public function hasDefaultValue() public function hasDefaultValue()
{ {

View File

@ -97,7 +97,7 @@ class PrototypedArrayNode extends ArrayNode
/** /**
* Checks if the node has a default value. * Checks if the node has a default value.
* *
* @return boolean * @return Boolean
*/ */
public function hasDefaultValue() public function hasDefaultValue()
{ {

View File

@ -26,7 +26,7 @@ class OutputFormatter implements OutputFormatterInterface
/** /**
* Initializes console output formatter. * Initializes console output formatter.
* *
* @param boolean $decorated Whether this formatter should actually decorate strings * @param Boolean $decorated Whether this formatter should actually decorate strings
* @param array $styles Array of "name => FormatterStyle" instance * @param array $styles Array of "name => FormatterStyle" instance
* *
* @api * @api
@ -87,7 +87,7 @@ class OutputFormatter implements OutputFormatterInterface
* *
* @param string $name * @param string $name
* *
* @return boolean * @return Boolean
* *
* @api * @api
*/ */
@ -217,7 +217,7 @@ class OutputFormatter implements OutputFormatterInterface
* *
* @param string $string * @param string $string
* *
* @return Symfony\Component\Console\Format\FormatterStyle|boolean false if string is not format string * @return Symfony\Component\Console\Format\FormatterStyle|Boolean false if string is not format string
*/ */
private function createStyleFromString($string) private function createStyleFromString($string)
{ {

View File

@ -53,7 +53,7 @@ interface OutputFormatterInterface
* *
* @param string $name * @param string $name
* *
* @return boolean * @return Boolean
* *
* @api * @api
*/ */

View File

@ -20,7 +20,7 @@ class Alias
* Constructor. * Constructor.
* *
* @param string $id Alias identifier * @param string $id Alias identifier
* @param boolean $public If this alias is public * @param Boolean $public If this alias is public
*/ */
public function __construct($id, $public = true) public function __construct($id, $public = true)
{ {
@ -31,7 +31,7 @@ class Alias
/** /**
* Checks if this DI Alias should be public or not. * Checks if this DI Alias should be public or not.
* *
* @return boolean * @return Boolean
*/ */
public function isPublic() public function isPublic()
{ {
@ -41,7 +41,7 @@ class Alias
/** /**
* Sets if this Alias is public. * Sets if this Alias is public.
* *
* @param boolean $boolean If this Alias should be public * @param Boolean $boolean If this Alias should be public
*/ */
public function setPublic($boolean) public function setPublic($boolean)
{ {

View File

@ -36,7 +36,7 @@ class AnalyzeServiceReferencesPass implements RepeatablePassInterface
/** /**
* Constructor. * Constructor.
* *
* @param boolean $onlyConstructorArguments Sets this Service Reference pass to ignore method calls * @param Boolean $onlyConstructorArguments Sets this Service Reference pass to ignore method calls
*/ */
public function __construct($onlyConstructorArguments = false) public function __construct($onlyConstructorArguments = false)
{ {

View File

@ -106,7 +106,7 @@ class InlineServiceDefinitionsPass implements RepeatablePassInterface
* @param ContainerBuilder $container * @param ContainerBuilder $container
* @param string $id * @param string $id
* @param Definition $definition * @param Definition $definition
* @return boolean If the definition is inlineable * @return Boolean If the definition is inlineable
*/ */
private function isInlinableDefinition(ContainerBuilder $container, $id, Definition $definition) private function isInlinableDefinition(ContainerBuilder $container, $id, Definition $definition)
{ {

View File

@ -69,7 +69,7 @@ class ResolveInvalidReferencesPass implements CompilerPassInterface
* Processes arguments to determine invalid references. * Processes arguments to determine invalid references.
* *
* @param array $arguments An array of Reference objects * @param array $arguments An array of Reference objects
* @param boolean $inMethodCall * @param Boolean $inMethodCall
*/ */
private function processArguments(array $arguments, $inMethodCall = false) private function processArguments(array $arguments, $inMethodCall = false)
{ {

View File

@ -65,7 +65,7 @@ class ServiceReferenceGraphNode
/** /**
* Checks if the value of this node is an Alias. * Checks if the value of this node is an Alias.
* *
* @return boolean True if the value is an Alias instance * @return Boolean True if the value is an Alias instance
*/ */
public function isAlias() public function isAlias()
{ {
@ -75,7 +75,7 @@ class ServiceReferenceGraphNode
/** /**
* Checks if the value of this node is a Definition. * Checks if the value of this node is a Definition.
* *
* @return boolean True if the value is a Definition instance * @return Boolean True if the value is a Definition instance
*/ */
public function isDefinition() public function isDefinition()
{ {

View File

@ -83,7 +83,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
* Checks if we have an extension. * Checks if we have an extension.
* *
* @param string $name The name of the extension * @param string $name The name of the extension
* @return boolean If the extension exists * @return Boolean If the extension exists
*/ */
public function hasExtension($name) public function hasExtension($name)
{ {

View File

@ -123,7 +123,7 @@ class GraphvizDumper extends Dumper
* *
* @param string $id The service id used to find edges * @param string $id The service id used to find edges
* @param array $arguments An array of arguments * @param array $arguments An array of arguments
* @param boolean $required * @param Boolean $required
* @param string $name * @param string $name
* @return array An array of edges * @return array An array of edges
*/ */

View File

@ -330,7 +330,7 @@ class PhpDumper extends Dumper
* *
* @param string $id * @param string $id
* @param Definition $definition * @param Definition $definition
* @return boolean * @return Boolean
*/ */
private function isSimpleInstance($id, $definition) private function isSimpleInstance($id, $definition)
{ {
@ -913,7 +913,7 @@ EOF;
* *
* @param string $id * @param string $id
* @param array $arguments * @param array $arguments
* @return boolean * @return Boolean
*/ */
private function hasReference($id, array $arguments) private function hasReference($id, array $arguments)
{ {
@ -936,7 +936,7 @@ EOF;
* Dumps values. * Dumps values.
* *
* @param array $value * @param array $value
* @param boolean $interpolate * @param Boolean $interpolate
* @return string * @return string
*/ */
private function dumpValue($value, $interpolate = true) private function dumpValue($value, $interpolate = true)

View File

@ -61,7 +61,7 @@ class Reference
/** /**
* Returns true when this Reference is strict * Returns true when this Reference is strict
* *
* @return boolean * @return Boolean
*/ */
public function isStrict() public function isStrict()
{ {

View File

@ -16,7 +16,7 @@ use Symfony\Component\Form\Exception\TransformationFailedException;
use Symfony\Component\Form\Exception\UnexpectedTypeException; use Symfony\Component\Form\Exception\UnexpectedTypeException;
/** /**
* Transforms between a boolean and a string. * Transforms between a Boolean and a string.
* *
* @author Bernhard Schussek <bernhard.schussek@symfony.com> * @author Bernhard Schussek <bernhard.schussek@symfony.com>
* @author Florian Eckerstorfer <florian@eckerstorfer.org> * @author Florian Eckerstorfer <florian@eckerstorfer.org>

View File

@ -44,7 +44,7 @@ interface CsrfProviderInterface
* *
* @param string $pageId The page ID used when generating the CSRF token * @param string $pageId The page ID used when generating the CSRF token
* @param string $token The token supplied by the browser * @param string $token The token supplied by the browser
* @return boolean Whether the token supplied by the browser is * @return Boolean Whether the token supplied by the browser is
* correct * correct
*/ */
public function isCsrfTokenValid($pageId, $token); public function isCsrfTokenValid($pageId, $token);

View File

@ -104,7 +104,7 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable
/** /**
* Returns whether the form is empty * Returns whether the form is empty
* *
* @return boolean * @return Boolean
*/ */
function isEmpty(); function isEmpty();

View File

@ -732,7 +732,7 @@ class StubNumberFormatter
/** /**
* Returns the normalized value for the GROUPING_USED attribute. Any value that can be converted to int will be * Returns the normalized value for the GROUPING_USED attribute. Any value that can be converted to int will be
* cast to boolean and then to int again. This way, negative values are converted to 1 and string values to 0. * cast to Boolean and then to int again. This way, negative values are converted to 1 and string values to 0.
* *
* @param mixed $value The value to be normalized * @param mixed $value The value to be normalized
* @return int The normalized value for the attribute (0 or 1) * @return int The normalized value for the attribute (0 or 1)

View File

@ -53,7 +53,7 @@ class SecurityContext implements SecurityContextInterface
* @throws AuthenticationCredentialsNotFoundException when the security context has no authentication token. * @throws AuthenticationCredentialsNotFoundException when the security context has no authentication token.
* @param mixed $attributes * @param mixed $attributes
* @param mixed|null $object * @param mixed|null $object
* @return boolean * @return Boolean
*/ */
public final function isGranted($attributes, $object = null) public final function isGranted($attributes, $object = null)
{ {

View File

@ -35,7 +35,7 @@ interface SecurityContextInterface
* *
* @param array $attributes * @param array $attributes
* @param mixed $object * @param mixed $object
* @return boolean * @return Boolean
*/ */
function isGranted($attributes, $object = null); function isGranted($attributes, $object = null);
} }

View File

@ -87,7 +87,7 @@ class ValidatorFactory implements ValidatorContextInterface
* @param array $mappingFiles A list of XML or YAML file names * @param array $mappingFiles A list of XML or YAML file names
* where mapping information can be * where mapping information can be
* found. Can be empty. * found. Can be empty.
* @param boolean $annotations Whether to use annotations for * @param Boolean $annotations Whether to use annotations for
* retrieving mapping information * retrieving mapping information
* @param array $annotationNamespaces The annotation namespaces used * @param array $annotationNamespaces The annotation namespaces used
* for finding the annotation classes. * for finding the annotation classes.

View File

@ -227,7 +227,7 @@ class ChoiceTypeTest extends TypeTestCase
} }
/* /*
* We need this functionality to create choice fields for boolean types, * We need this functionality to create choice fields for Boolean types,
* e.g. false => 'No', true => 'Yes' * e.g. false => 'No', true => 'Yes'
*/ */
public function testSetDataSingleNonExpandedAcceptsBoolean() public function testSetDataSingleNonExpandedAcceptsBoolean()

View File

@ -157,7 +157,7 @@ php: |
--- ---
test: Boolean test: Boolean
brief: > brief: >
You can use 'true' and 'false' for boolean values. You can use 'true' and 'false' for Boolean values.
yaml: | yaml: |
Is Gus a Liar?: true Is Gus a Liar?: true
Do I rely on Gus for Sustenance?: false Do I rely on Gus for Sustenance?: false