mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX: fix cs
This commit is contained in:
parent
e36d2a5eec
commit
459df26fef
@ -36,7 +36,6 @@ final class AdminMenuBuilder implements LocalMenuBuilderInterface
|
||||
->setAttribute('class', 'list-group-item-header')
|
||||
->setExtras([
|
||||
'order' => 5000,
|
||||
//'icons' => ['exchange'],
|
||||
]);
|
||||
|
||||
$menu->addChild('Activity Reasons', [
|
||||
|
@ -1,5 +1,14 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Chill\MainBundle\Controller;
|
||||
|
||||
use Chill\MainBundle\CRUD\Controller\ApiController;
|
||||
|
@ -80,5 +80,4 @@ class UserApiController extends ApiController
|
||||
{
|
||||
return $query->orderBy('e.label', 'ASC');
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -27,8 +27,7 @@ class ScopeType extends AbstractType
|
||||
'choices' => [
|
||||
'Active' => true,
|
||||
'Inactive' => false,
|
||||
]])
|
||||
;
|
||||
], ]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -197,7 +197,6 @@ class AccompanyingCourseWorkController extends AbstractController
|
||||
'accompanyingCourse' => $work->getAccompanyingPeriod(),
|
||||
'work' => $work,
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
private function createDeleteForm(int $id): Form
|
||||
|
@ -13,7 +13,6 @@ namespace Chill\PersonBundle\Controller;
|
||||
|
||||
use Chill\MainBundle\CRUD\Controller\ApiController;
|
||||
use Chill\MainBundle\Pagination\PaginatorFactory;
|
||||
use Chill\MainBundle\Pagination\PaginatorInterface;
|
||||
use Chill\MainBundle\Serializer\Model\Collection;
|
||||
use Chill\PersonBundle\Entity\SocialWork\SocialAction;
|
||||
use Chill\PersonBundle\Repository\SocialWork\SocialIssueRepository;
|
||||
@ -45,7 +44,7 @@ class SocialWorkSocialActionApiController extends ApiController
|
||||
|
||||
$socialActions = $socialIssue->getRecursiveSocialActions()->toArray();
|
||||
|
||||
usort($socialActions, function (SocialAction $sa, SocialAction $sb) {
|
||||
usort($socialActions, static function (SocialAction $sa, SocialAction $sb) {
|
||||
return $sa->getOrdering() <=> $sb->getOrdering();
|
||||
});
|
||||
|
||||
|
@ -22,7 +22,7 @@ class ChillDocumentLockManager implements DocumentLockManagerInterface
|
||||
private const LOCK_DURATION = 60 * 30;
|
||||
|
||||
/**
|
||||
* Number of seconds to keep the lock after the delete lock operation
|
||||
* Number of seconds to keep the lock after the delete lock operation.
|
||||
*/
|
||||
private const LOCK_GRACEFUL_DURATION_TIME = 3;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user