Completed
Push — develop ( 84b572...41bbe1 )
by Stuart
01:54
created
src/V1/BuildMessagingPipelines.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/V1/Operations/VerifyHmac.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.