mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
Fix CS
This commit is contained in:
@@ -56,7 +56,7 @@ class LiveInformation
|
||||
/**
|
||||
* Returns live informations about some tasks.
|
||||
*
|
||||
* @param Task[] $tasks
|
||||
* @param Task[] $tasks
|
||||
* @param boolean $throwException
|
||||
*
|
||||
* @return array
|
||||
@@ -89,9 +89,10 @@ class LiveInformation
|
||||
try {
|
||||
return $this->notifier->notify(Notifier::MESSAGE_INFORMATIONS);
|
||||
} catch (RuntimeException $e) {
|
||||
if($throwException) {
|
||||
if ($throwException) {
|
||||
throw $e;
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
@@ -9,7 +9,6 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use Symfony\Component\Routing\Generator\UrlGenerator;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
interface Bridge_Api_Interface
|
||||
|
@@ -9,7 +9,6 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Doctrine\ORM\NoResultException;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
|
||||
|
Reference in New Issue
Block a user