Skip to content

Commit

Permalink
Fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Feb 21, 2014
1 parent 8b2b64b commit ec56540
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion EventListener/BlameListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 3 additions & 4 deletions Uploadable/UploadableManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -36,7 +35,7 @@ public function markEntityToUpload($entity, $fileInfo)

$this->listener->addEntityFileInfo($entity, $fileInfo);
}

/**
* @return \Gedmo\Uploadable\UploadableListener
*/
Expand Down

0 comments on commit ec56540

Please sign in to comment.