@@ -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) |
@@ -73,8 +73,7 @@ |
||
73 | 73 | * if the HMAC attached to $message doesn't match what we expect |
74 | 74 | * (strongly suggests $message has been tampered with) |
75 | 75 | */ |
76 | - public static function for(string $message, $expectedHmac, string $hashAlgo, string $key) |
|
77 | - { |
|
76 | + public static function for(string $message, $expectedHmac, string $hashAlgo, string $key) { |
|
78 | 77 | // robustness! |
79 | 78 | RequireValidHmacAlgorithm::apply()->to($hashAlgo); |
80 | 79 |