File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
lib/private/Security/Signature Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -724,7 +724,6 @@ private function updateKnownSignatory(ISignatory $signatory): void {
724724 case SignatoryType::FORGIVABLE :
725725 $ this ->deleteSignatory ($ knownSignatory ->getKeyId ());
726726 $ this ->insertSignatory ($ signatory );
727-
728727 return ;
729728
730729 case SignatoryType::REFRESHABLE :
@@ -734,13 +733,11 @@ private function updateKnownSignatory(ISignatory $signatory): void {
734733
735734 case SignatoryType::TRUSTED :
736735 // TODO: send notice to admin
737- throw new SignatoryConflictException ();
738- break ;
736+ throw new SignatoryConflictException ('conflict between ' . json_encode ($ signatory ) . ' ' . json_encode ($ knownSignatory ));
739737
740738 case SignatoryType::STATIC :
741739 // TODO: send warning to admin
742740 throw new SignatoryConflictException ();
743- break ;
744741 }
745742 }
746743
You can’t perform that action at this time.
0 commit comments