@@ -76,7 +76,7 @@ |
||
| 76 | 76 | * for each builder |
| 77 | 77 | * @param int $directions |
| 78 | 78 | * which pipelines do we want to build? (bitwise mask) |
| 79 | - * @return NextInstruction[] |
|
| 79 | + * @return InstructionPipeline[] |
|
| 80 | 80 | * the assembled pipelines |
| 81 | 81 | */ |
| 82 | 82 | public static function from($definition, $directions = InstructionPipeline::DI_FORWARD|InstructionPipeline::DI_REVERSE, $wrapperClass = NextInstruction::class) |
@@ -51,8 +51,8 @@ |
||
| 51 | 51 | * exception thrown when our attempt to decrypt a string has failed |
| 52 | 52 | */ |
| 53 | 53 | class CannotDecryptString |
| 54 | - extends ParameterisedException |
|
| 55 | - implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 54 | + extends ParameterisedException |
|
| 55 | + implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 56 | 56 | { |
| 57 | 57 | // we map onto HTTP 500 |
| 58 | 58 | use UnexpectedErrorStatusProvider; |
@@ -52,8 +52,8 @@ |
||
| 52 | 52 | * with our MessagingPipeline |
| 53 | 53 | */ |
| 54 | 54 | class HmacVerificationFailed |
| 55 | - extends ParameterisedException |
|
| 56 | - implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 55 | + extends ParameterisedException |
|
| 56 | + implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 57 | 57 | { |
| 58 | 58 | // we map onto HTTP 500 |
| 59 | 59 | use UnexpectedErrorStatusProvider; |
@@ -52,8 +52,8 @@ |
||
| 52 | 52 | * isn't an encryption cipher that it supports |
| 53 | 53 | */ |
| 54 | 54 | class InvalidEncryptionIV |
| 55 | - extends ParameterisedException |
|
| 56 | - implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 55 | + extends ParameterisedException |
|
| 56 | + implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 57 | 57 | { |
| 58 | 58 | // we map onto HTTP 500 |
| 59 | 59 | use UnexpectedErrorStatusProvider; |
@@ -52,8 +52,8 @@ |
||
| 52 | 52 | * with our MessagingPipeline |
| 53 | 53 | */ |
| 54 | 54 | class HmacNotFound |
| 55 | - extends ParameterisedException |
|
| 56 | - implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 55 | + extends ParameterisedException |
|
| 56 | + implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 57 | 57 | { |
| 58 | 58 | // we map onto HTTP 500 |
| 59 | 59 | use UnexpectedErrorStatusProvider; |
@@ -51,8 +51,8 @@ |
||
| 51 | 51 | * exception thrown when json_encode() has failed |
| 52 | 52 | */ |
| 53 | 53 | class CannotJsonEncode |
| 54 | - extends ParameterisedException |
|
| 55 | - implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 54 | + extends ParameterisedException |
|
| 55 | + implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 56 | 56 | { |
| 57 | 57 | // we map onto HTTP 500 |
| 58 | 58 | use UnexpectedErrorStatusProvider; |
@@ -51,8 +51,8 @@ |
||
| 51 | 51 | * exception thrown when we've been given an incomplete config array |
| 52 | 52 | */ |
| 53 | 53 | class ConfigKeyNotFound |
| 54 | - extends ParameterisedException |
|
| 55 | - implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 54 | + extends ParameterisedException |
|
| 55 | + implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 56 | 56 | { |
| 57 | 57 | // we map onto HTTP 500 |
| 58 | 58 | use UnexpectedErrorStatusProvider; |
@@ -51,8 +51,8 @@ |
||
| 51 | 51 | * exception thrown when json_decode() has failed |
| 52 | 52 | */ |
| 53 | 53 | class CannotJsonDecode |
| 54 | - extends ParameterisedException |
|
| 55 | - implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 54 | + extends ParameterisedException |
|
| 55 | + implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 56 | 56 | { |
| 57 | 57 | // we map onto HTTP 500 |
| 58 | 58 | use UnexpectedErrorStatusProvider; |
@@ -51,8 +51,8 @@ |
||
| 51 | 51 | * exception thrown when base64_decode() has failed |
| 52 | 52 | */ |
| 53 | 53 | class CannotBase64Decode |
| 54 | - extends ParameterisedException |
|
| 55 | - implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 54 | + extends ParameterisedException |
|
| 55 | + implements MessagingPipelineException, HttpRuntimeErrorException |
|
| 56 | 56 | { |
| 57 | 57 | // we map onto HTTP 500 |
| 58 | 58 | use UnexpectedErrorStatusProvider; |