mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-11-04 03:08:25 +00:00 
			
		
		
		
	fixes stan errors
This commit is contained in:
		@@ -350,11 +350,6 @@ parameters:
 | 
			
		||||
			count: 6
 | 
			
		||||
			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\\.$#"
 | 
			
		||||
			count: 1
 | 
			
		||||
 
 | 
			
		||||
@@ -72,6 +72,7 @@ class AccompanyingPeriodWorkEvaluationWorkflowHandler implements EntityWorkflowH
 | 
			
		||||
     */
 | 
			
		||||
    public function getRelatedObjects(object $object): array
 | 
			
		||||
    {
 | 
			
		||||
        $relateds = [];
 | 
			
		||||
        $relateds[] = ['entityClass' => AccompanyingPeriodWorkEvaluation::class, 'entityId' => $object->getId()];
 | 
			
		||||
 | 
			
		||||
        foreach ($object->getDocuments() as $doc) {
 | 
			
		||||
 
 | 
			
		||||
@@ -71,6 +71,7 @@ class AccompanyingPeriodWorkWorkflowHandler implements EntityWorkflowHandlerInte
 | 
			
		||||
     */
 | 
			
		||||
    public function getRelatedObjects(object $object): array
 | 
			
		||||
    {
 | 
			
		||||
        $relateds = [];
 | 
			
		||||
        $relateds[] = ['entityClass' => AccompanyingPeriodWork::class, 'entityId' => $object->getId()];
 | 
			
		||||
 | 
			
		||||
        foreach ($object->getAccompanyingPeriodWorkEvaluations() as $evaluation) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user