Index: trunk/extensions/SecurePoll/includes/ballots/RadioRangeBallot.php |
— | — | @@ -78,11 +78,11 @@ |
79 | 79 | return $labels; |
80 | 80 | } |
81 | 81 | |
82 | | - function getMessageNames( $entity=null ) { |
83 | | - if( $entity===null || $entity->getType() !== 'question' ) { |
| 82 | + function getMessageNames( $entity = null ) { |
| 83 | + if ( $entity === null || $entity->getType() !== 'question' ) { |
84 | 84 | return array(); |
85 | 85 | } |
86 | | - if( !$entity->getProperty( 'column-label-msgs' ) ) { |
| 86 | + if ( !$entity->getProperty( 'column-label-msgs' ) ) { |
87 | 87 | return array(); |
88 | 88 | } |
89 | 89 | $msgs = array(); |
Index: trunk/extensions/SecurePoll/includes/ballots/Ballot.php |
— | — | @@ -28,7 +28,9 @@ |
29 | 29 | * @return Array |
30 | 30 | * @see SecurePoll_Election::getMessageNames() |
31 | 31 | */ |
32 | | - function getMessageNames(){ return array(); } |
| 32 | + function getMessageNames() { |
| 33 | + return array(); |
| 34 | + } |
33 | 35 | |
34 | 36 | /** |
35 | 37 | * Called when the form is submitted. This returns a Status object which, |