mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 17:29:04 +00:00 
			
		
		
		
	Left better error message
This commit is contained in:
		| @@ -28,13 +28,15 @@ class RequestedUser extends AbstractRequestedRightFacade implements RequestedUse | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * You MUST NO use this method! Use UserSourceDirector instead! | ||||
|      * | ||||
|      * @see UserSourceDirectorInterface | ||||
|      * {@inheritdoc} | ||||
|      * @see \App\Attribut\RecieverAttributInterface::setReciever() | ||||
|      */ | ||||
|     public function setReciever(SourceInterface $reciever): void | ||||
|     { | ||||
|         throw new SetNotPossibleException('It\'s not possible to set the reciever!'); | ||||
|         throw new SetNotPossibleException('It\'s not possible to set the reciever! Set it via '.UserSourceDirectorInterface::class.'!'); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user