diff --git a/EventListener/BlameListener.php b/EventListener/BlameListener.php index aa25dc9e..b6050108 100644 --- a/EventListener/BlameListener.php +++ b/EventListener/BlameListener.php @@ -2,7 +2,6 @@ namespace Stof\DoctrineExtensionsBundle\EventListener; -use Gedmo\Loggable\LoggableListener; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\HttpKernel\KernelEvents; diff --git a/Uploadable/UploadableManager.php b/Uploadable/UploadableManager.php index 64fb04f8..f4526ec7 100644 --- a/Uploadable/UploadableManager.php +++ b/Uploadable/UploadableManager.php @@ -17,14 +17,13 @@ public function __construct(UploadableListener $listener, $fileInfoClass) $this->fileInfoClass = $fileInfoClass; } - /** * This method marks an entity to be uploaded as soon as the "flush" method of your object manager is called. * After calling this method, the file info you passed is set for this entity in the listener. This is all it takes * to upload a file for an entity in the Uploadable extension. * - * @param object $entity - The entity you are marking to "Upload" as soon as you call "flush". - * @param mixed $fileInfo - The file info object or array. In Symfony 2, this will be typically an UploadedFile instance. + * @param object $entity - The entity you are marking to "Upload" as soon as you call "flush". + * @param mixed $fileInfo - The file info object or array. In Symfony 2, this will be typically an UploadedFile instance. */ public function markEntityToUpload($entity, $fileInfo) { @@ -36,7 +35,7 @@ public function markEntityToUpload($entity, $fileInfo) $this->listener->addEntityFileInfo($entity, $fileInfo); } - + /** * @return \Gedmo\Uploadable\UploadableListener */