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.
|
* Returns live informations about some tasks.
|
||||||
*
|
*
|
||||||
* @param Task[] $tasks
|
* @param Task[] $tasks
|
||||||
* @param boolean $throwException
|
* @param boolean $throwException
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
@@ -89,9 +89,10 @@ class LiveInformation
|
|||||||
try {
|
try {
|
||||||
return $this->notifier->notify(Notifier::MESSAGE_INFORMATIONS);
|
return $this->notifier->notify(Notifier::MESSAGE_INFORMATIONS);
|
||||||
} catch (RuntimeException $e) {
|
} catch (RuntimeException $e) {
|
||||||
if($throwException) {
|
if ($throwException) {
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Symfony\Component\Routing\Generator\UrlGenerator;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
interface Bridge_Api_Interface
|
interface Bridge_Api_Interface
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Alchemy\Phrasea\Application;
|
|
||||||
use Doctrine\ORM\NoResultException;
|
use Doctrine\ORM\NoResultException;
|
||||||
use Doctrine\ORM\EntityManager;
|
use Doctrine\ORM\EntityManager;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user