merged branch stof/use_statements (PR #4576)
Commits -------0d67b9f
Removed useless use statementsa3c1299
[Form] Added a missing use statement and fix a phpdoc Discussion ---------- Use statements This adds a missing use statements in the Form component (which would cause a fatal error if the exception was thrown) and removes useless use statements in the BrowserKit component (the use statement for the current class confuses the IDEs) --------------------------------------------------------------------------- by travisbot at 2012-06-14T08:05:41Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1617154) (merged0d67b9f2
into41f48b7e
).
This commit is contained in:
commit
4e1e08eff7
@ -15,9 +15,6 @@ use Symfony\Component\DomCrawler\Crawler;
|
|||||||
use Symfony\Component\DomCrawler\Link;
|
use Symfony\Component\DomCrawler\Link;
|
||||||
use Symfony\Component\DomCrawler\Form;
|
use Symfony\Component\DomCrawler\Form;
|
||||||
use Symfony\Component\Process\PhpProcess;
|
use Symfony\Component\Process\PhpProcess;
|
||||||
use Symfony\Component\BrowserKit\Request;
|
|
||||||
use Symfony\Component\BrowserKit\Response;
|
|
||||||
use Symfony\Component\BrowserKit\Client;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Client simulates a browser.
|
* Client simulates a browser.
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
namespace Symfony\Component\Form\Extension\Core\DataTransformer;
|
namespace Symfony\Component\Form\Extension\Core\DataTransformer;
|
||||||
|
|
||||||
use Symfony\Component\Form\DataTransformerInterface;
|
use Symfony\Component\Form\DataTransformerInterface;
|
||||||
|
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||||
|
|
||||||
abstract class BaseDateTimeTransformer implements DataTransformerInterface
|
abstract class BaseDateTimeTransformer implements DataTransformerInterface
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,7 @@ class Form implements \IteratorAggregate, FormInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The mapper for mapping data to children and back
|
* The mapper for mapping data to children and back
|
||||||
* @var DataMapper\DataMapperInterface
|
* @var DataMapperInterface
|
||||||
*/
|
*/
|
||||||
private $dataMapper;
|
private $dataMapper;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user