Permalink
Browse files

[DoctrineBridge] fixed some CS

  • Loading branch information...
1 parent 63143c1 commit 72d6908272557dc883888becc832b9f1df638326 @fabpot fabpot committed Dec 13, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 Field/ChoiceFormField.php
View
@@ -43,7 +43,7 @@ public function hasValue()
/**
* Check if the current selected option is disabled
- *
+ *
* @return bool
*/
public function isDisabled()
@@ -56,7 +56,7 @@ public function isDisabled()
return false;
}
-
+
/**
* Sets the value of the field.
*
@@ -249,7 +249,7 @@ protected function initialize()
* Returns option value with associated disabled flag
*
* @param type $node
- *
+ *
* @return array
*/
private function buildOptionValue($node)
@@ -259,7 +259,7 @@ private function buildOptionValue($node)
$defaultValue = (isset($node->nodeValue) && !empty($node->nodeValue)) ? $node->nodeValue : '1';
$option['value'] = $node->hasAttribute('value') ? $node->getAttribute('value') : $defaultValue;
$option['disabled'] = ($node->hasAttribute('disabled') && $node->getAttribute('disabled') == 'disabled');
-
+
return $option;
}
@@ -268,7 +268,7 @@ private function buildOptionValue($node)
*
* @param string $optionValue
* @param array $options
- *
+ *
* @return bool
*/
public function containsOption($optionValue, $options)

0 comments on commit 72d6908

Please sign in to comment.