mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 09:18:24 +00:00 
			
		
		
		
	fixes stan errors
This commit is contained in:
		| @@ -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) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user