Skip to content

Commit

Permalink
Made the application compatible with PHP 5.3 again
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jul 8, 2015
1 parent a29f7c8 commit 73a8665
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AppBundle/Form/PostType.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ public function buildForm(FormBuilderInterface $builder, array $options)
// for the full reference of options defined by each form field type
// see http://symfony.com/doc/current/reference/forms/types.html
$builder
->add('title', null, ['label' => 'label.title'])
->add('summary', 'textarea', ['label' => 'label.summary'])
->add('title', null, array('label' => 'label.title'))
->add('summary', 'textarea', array('label' => 'label.summary'))
->add('content', 'textarea', array(
'attr' => array('rows' => 20),
'label' => 'label.content',
))
->add('authorEmail', 'email', ['label' => 'label.author_email'])
->add('authorEmail', 'email', array('label' => 'label.author_email'))
->add('publishedAt', 'datetime', array(
'widget' => 'single_text',
'label' => 'label.published_at',
Expand Down

0 comments on commit 73a8665

Please sign in to comment.