|
@@ -283,7 +283,7 @@ class EntityChoiceField extends ChoiceField
|
|
* Returns the entity for the given key
|
|
* Returns the entity for the given key
|
|
*
|
|
*
|
|
* If the underlying entities have composite identifiers, the choices
|
|
* 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.
|
|
* array in this case.
|
|
*
|
|
*
|
|
* If they have single identifiers, they are either fetched from the
|
|
* If they have single identifiers, they are either fetched from the
|
|
@@ -320,7 +320,7 @@ class EntityChoiceField extends ChoiceField
|
|
* underlying class
|
|
* underlying class
|
|
*
|
|
*
|
|
* @param string $property The name of the property
|
|
* @param string $property The name of the property
|
|
- * @return \ReflectionProperty The reflection instsance
|
|
|
|
|
|
+ * @return \ReflectionProperty The reflection instance
|
|
*/
|
|
*/
|
|
protected function getReflProperty($property)
|
|
protected function getReflProperty($property)
|
|
{
|
|
{
|