mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fixes stan errors
This commit is contained in:
parent
e4ae495a3f
commit
23e61ac6a7
@ -350,11 +350,6 @@ parameters:
|
|||||||
count: 6
|
count: 6
|
||||||
path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php
|
path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
|
|
||||||
count: 2
|
|
||||||
path: src/Bundle/ChillPersonBundle/Entity/PersonPhone.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
|
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
@ -72,6 +72,7 @@ class AccompanyingPeriodWorkEvaluationWorkflowHandler implements EntityWorkflowH
|
|||||||
*/
|
*/
|
||||||
public function getRelatedObjects(object $object): array
|
public function getRelatedObjects(object $object): array
|
||||||
{
|
{
|
||||||
|
$relateds = [];
|
||||||
$relateds[] = ['entityClass' => AccompanyingPeriodWorkEvaluation::class, 'entityId' => $object->getId()];
|
$relateds[] = ['entityClass' => AccompanyingPeriodWorkEvaluation::class, 'entityId' => $object->getId()];
|
||||||
|
|
||||||
foreach ($object->getDocuments() as $doc) {
|
foreach ($object->getDocuments() as $doc) {
|
||||||
|
@ -71,6 +71,7 @@ class AccompanyingPeriodWorkWorkflowHandler implements EntityWorkflowHandlerInte
|
|||||||
*/
|
*/
|
||||||
public function getRelatedObjects(object $object): array
|
public function getRelatedObjects(object $object): array
|
||||||
{
|
{
|
||||||
|
$relateds = [];
|
||||||
$relateds[] = ['entityClass' => AccompanyingPeriodWork::class, 'entityId' => $object->getId()];
|
$relateds[] = ['entityClass' => AccompanyingPeriodWork::class, 'entityId' => $object->getId()];
|
||||||
|
|
||||||
foreach ($object->getAccompanyingPeriodWorkEvaluations() as $evaluation) {
|
foreach ($object->getAccompanyingPeriodWorkEvaluations() as $evaluation) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user