capitalized 'boolean'
This commit is contained in:
parent
4db0752894
commit
164ce5210d
@ -33,7 +33,7 @@ class DoctrineOrmTypeGuesser implements FormTypeGuesserInterface
|
||||
/**
|
||||
* Returns whether Doctrine 2 metadata exists for that class
|
||||
*
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
protected function isMappedClass($class)
|
||||
{
|
||||
|
@ -126,7 +126,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
|
||||
/**
|
||||
* Checks if the node has a default value.
|
||||
*
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
public function hasDefaultValue()
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ class PrototypedArrayNode extends ArrayNode
|
||||
/**
|
||||
* Checks if the node has a default value.
|
||||
*
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
public function hasDefaultValue()
|
||||
{
|
||||
|
@ -26,7 +26,7 @@ class OutputFormatter implements OutputFormatterInterface
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
* @api
|
||||
@ -87,7 +87,7 @@ class OutputFormatter implements OutputFormatterInterface
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
@ -217,7 +217,7 @@ class OutputFormatter implements OutputFormatterInterface
|
||||
*
|
||||
* @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)
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ interface OutputFormatterInterface
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -20,7 +20,7 @@ class Alias
|
||||
* Constructor.
|
||||
*
|
||||
* @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)
|
||||
{
|
||||
@ -31,7 +31,7 @@ class Alias
|
||||
/**
|
||||
* Checks if this DI Alias should be public or not.
|
||||
*
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
public function isPublic()
|
||||
{
|
||||
@ -41,7 +41,7 @@ class Alias
|
||||
/**
|
||||
* 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)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ class AnalyzeServiceReferencesPass implements RepeatablePassInterface
|
||||
/**
|
||||
* 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)
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ class InlineServiceDefinitionsPass implements RepeatablePassInterface
|
||||
* @param ContainerBuilder $container
|
||||
* @param string $id
|
||||
* @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)
|
||||
{
|
||||
|
@ -69,7 +69,7 @@ class ResolveInvalidReferencesPass implements CompilerPassInterface
|
||||
* Processes arguments to determine invalid references.
|
||||
*
|
||||
* @param array $arguments An array of Reference objects
|
||||
* @param boolean $inMethodCall
|
||||
* @param Boolean $inMethodCall
|
||||
*/
|
||||
private function processArguments(array $arguments, $inMethodCall = false)
|
||||
{
|
||||
|
@ -65,7 +65,7 @@ class ServiceReferenceGraphNode
|
||||
/**
|
||||
* 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()
|
||||
{
|
||||
@ -75,7 +75,7 @@ class ServiceReferenceGraphNode
|
||||
/**
|
||||
* 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()
|
||||
{
|
||||
|
@ -83,7 +83,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
|
||||
* Checks if we have an 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)
|
||||
{
|
||||
|
@ -123,7 +123,7 @@ class GraphvizDumper extends Dumper
|
||||
*
|
||||
* @param string $id The service id used to find edges
|
||||
* @param array $arguments An array of arguments
|
||||
* @param boolean $required
|
||||
* @param Boolean $required
|
||||
* @param string $name
|
||||
* @return array An array of edges
|
||||
*/
|
||||
|
@ -330,7 +330,7 @@ class PhpDumper extends Dumper
|
||||
*
|
||||
* @param string $id
|
||||
* @param Definition $definition
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
private function isSimpleInstance($id, $definition)
|
||||
{
|
||||
@ -913,7 +913,7 @@ EOF;
|
||||
*
|
||||
* @param string $id
|
||||
* @param array $arguments
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
private function hasReference($id, array $arguments)
|
||||
{
|
||||
@ -936,7 +936,7 @@ EOF;
|
||||
* Dumps values.
|
||||
*
|
||||
* @param array $value
|
||||
* @param boolean $interpolate
|
||||
* @param Boolean $interpolate
|
||||
* @return string
|
||||
*/
|
||||
private function dumpValue($value, $interpolate = true)
|
||||
|
@ -61,7 +61,7 @@ class Reference
|
||||
/**
|
||||
* Returns true when this Reference is strict
|
||||
*
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
public function isStrict()
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Form\Exception\TransformationFailedException;
|
||||
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 Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
|
@ -44,7 +44,7 @@ interface CsrfProviderInterface
|
||||
*
|
||||
* @param string $pageId The page ID used when generating the CSRF token
|
||||
* @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
|
||||
*/
|
||||
public function isCsrfTokenValid($pageId, $token);
|
||||
|
@ -104,7 +104,7 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable
|
||||
/**
|
||||
* Returns whether the form is empty
|
||||
*
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
function isEmpty();
|
||||
|
||||
|
@ -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
|
||||
* 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
|
||||
* @return int The normalized value for the attribute (0 or 1)
|
||||
|
@ -53,7 +53,7 @@ class SecurityContext implements SecurityContextInterface
|
||||
* @throws AuthenticationCredentialsNotFoundException when the security context has no authentication token.
|
||||
* @param mixed $attributes
|
||||
* @param mixed|null $object
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
public final function isGranted($attributes, $object = null)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ interface SecurityContextInterface
|
||||
*
|
||||
* @param array $attributes
|
||||
* @param mixed $object
|
||||
* @return boolean
|
||||
* @return Boolean
|
||||
*/
|
||||
function isGranted($attributes, $object = null);
|
||||
}
|
@ -87,7 +87,7 @@ class ValidatorFactory implements ValidatorContextInterface
|
||||
* @param array $mappingFiles A list of XML or YAML file names
|
||||
* where mapping information can be
|
||||
* found. Can be empty.
|
||||
* @param boolean $annotations Whether to use annotations for
|
||||
* @param Boolean $annotations Whether to use annotations for
|
||||
* retrieving mapping information
|
||||
* @param array $annotationNamespaces The annotation namespaces used
|
||||
* for finding the annotation classes.
|
||||
|
@ -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'
|
||||
*/
|
||||
public function testSetDataSingleNonExpandedAcceptsBoolean()
|
||||
|
@ -157,7 +157,7 @@ php: |
|
||||
---
|
||||
test: Boolean
|
||||
brief: >
|
||||
You can use 'true' and 'false' for boolean values.
|
||||
You can use 'true' and 'false' for Boolean values.
|
||||
yaml: |
|
||||
Is Gus a Liar?: true
|
||||
Do I rely on Gus for Sustenance?: false
|
||||
|
Reference in New Issue
Block a user