Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[DoctrineBridge] fixed some CS

  • Loading branch information...
commit 72d6908272557dc883888becc832b9f1df638326 1 parent 63143c1
@fabpot fabpot authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 Field/ChoiceFormField.php
View
10 Field/ChoiceFormField.php
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.