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