This commit is contained in:
Romain Neutron
2013-12-03 21:01:43 +01:00
parent b024492c07
commit 7904a33e07
21 changed files with 11 additions and 51 deletions

View File

@@ -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)

View File

@@ -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));

View File

@@ -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;
}