Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
ff161a9a
Commit
ff161a9a
authored
Nov 01, 2015
by
Tobias Schultze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comment about symfony version
Form FQCN are introduced with symfony 2.8.
parent
4e9d0ce6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Silex/Application/FormTrait.php
src/Silex/Application/FormTrait.php
+1
-1
No files found.
src/Silex/Application/FormTrait.php
View file @
ff161a9a
...
...
@@ -31,7 +31,7 @@ trait FormTrait
public
function
form
(
$data
=
null
,
array
$options
=
array
())
{
$name
=
'Symfony\Component\Form\Extension\Core\Type\FormType'
;
//
for BC with Symfony pre 2.7
//
BC with Symfony < 2.8
if
(
!
class_exists
(
'Symfony\Component\Form\Extension\Core\Type\RangeType'
))
{
$name
=
'form'
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment