[Various] Phpdoc & typos

This commit is contained in:
Pascal Borreli 2011-06-04 15:30:56 +00:00
parent d62932f70b
commit 404c452c0b
10 changed files with 10 additions and 10 deletions

View File

@ -221,7 +221,7 @@ class EntityChoiceList extends ArrayChoiceList
* Returns the entity for the given key
*
* If the underlying entities have composite identifiers, the choices
* are intialized. The key is expected to be the index in the choices
* are initialized. The key is expected to be the index in the choices
* array in this case.
*
* If they have single identifiers, they are either fetched from the

View File

@ -184,7 +184,7 @@ class FormExtension extends \Twig_Extension
* 1. This function first looks for a block named "_<view id>_<section>",
* 2. if such a block is not found the function will look for a block named
* "<type name>_<section>",
* 3. the type name is recusrively replaced by the parent type name until a
* 3. the type name is recursively replaced by the parent type name until a
* corresponding block is found
*
* @param FormView $view The form view

View File

@ -101,7 +101,7 @@ class CookieJar
* Returns not yet expired cookie values for the given URI.
*
* @param string $uri A URI
* @param Boolean $returnsRawValue returnes raw value or urldecoded value
* @param Boolean $returnsRawValue Returns raw value or urldecoded value
*
* @return array An array of cookie values
*/

View File

@ -277,7 +277,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
* Remap multiple singular values to a single plural value
*
* @param array $value The source values
* @return array The remaped values
* @return array The remapped values
*/
protected function remapXml($value)
{

View File

@ -85,7 +85,7 @@ class ServiceReferenceGraphNode
/**
* Returns the identifier.
*
* @return void
* @return string
*/
public function getId()
{

View File

@ -199,7 +199,7 @@ class GraphvizDumper extends Dumper
/**
* Returns the end dot.
*
* @return void
* @return string
*/
private function endDot()
{

View File

@ -798,7 +798,7 @@ EOF;
/**
* Ends the class definition.
*
* @return void
* @return string
*/
private function endClass()
{

View File

@ -113,7 +113,7 @@ class YamlDumper extends Dumper
*
* @param string $alias
* @param string $id
* @return void
* @return string
*/
private function addServiceAlias($alias, $id)
{

View File

@ -267,7 +267,7 @@ class YamlFileLoader extends FileLoader
* Resolves services.
*
* @param string $value
* @return void
* @return Reference
*/
private function resolveServices($value)
{

View File

@ -269,7 +269,7 @@ class XmlEncoder extends SerializerAwareEncoder implements DecoderInterface, Nor
* @param array|object $data
* @param string $nodename
* @param string $key
* @return void
* @return Boolean
*/
private function appendNode($parentNode, $data, $nodeName, $key = null)
{