mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Fix CS
This commit is contained in:
@@ -124,8 +124,8 @@ class BasketRepository extends EntityRepository
|
||||
*
|
||||
* @throws NotFoundHttpException
|
||||
* @throws AccessDeniedHttpException
|
||||
* @param type $basket_id
|
||||
* @param \User_Adapter $user
|
||||
* @param type $basket_id
|
||||
* @param \User_Adapter $user
|
||||
* @return \Entities\Basket
|
||||
*/
|
||||
public function findUserBasket(Application $app, $basket_id, \User_Adapter $user, $requireOwner)
|
||||
|
@@ -15,7 +15,7 @@ class LazaretFileRepository extends EntityRepository
|
||||
|
||||
public function findPerPage(array $base_ids, $offset = 0, $perPage = 10)
|
||||
{
|
||||
$base_ids = implode(', ', array_map(function($int) {
|
||||
$base_ids = implode(', ', array_map(function ($int) {
|
||||
return (int) $int;
|
||||
}, $base_ids));
|
||||
|
||||
|
@@ -46,7 +46,7 @@ class StoryWZRepository extends EntityRepository
|
||||
$sortedStories[] = $story->getRecord($app)->get_title();
|
||||
}
|
||||
|
||||
uasort($sortedStories, function($a, $b) {
|
||||
uasort($sortedStories, function ($a, $b) {
|
||||
if ($a == $b) {
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user