Skip to content

Commit c67ff1a

Browse files
committed
Fix the priority of POST_RESPOND
1 parent 67b0e4d commit c67ff1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/EventListener/EventPriorities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ final class EventPriorities
2727
const PRE_WRITE = 33;
2828
const POST_WRITE = 31;
2929
const PRE_RESPOND = 9;
30-
const POST_RESPOND = 7;
30+
const POST_RESPOND = 0;
3131
}

tests/EventListener/EventPrioritiesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public function testConstants()
2929
$this->assertEquals(33, EventPriorities::PRE_WRITE);
3030
$this->assertEquals(31, EventPriorities::POST_WRITE);
3131
$this->assertEquals(9, EventPriorities::PRE_RESPOND);
32-
$this->assertEquals(7, EventPriorities::POST_RESPOND);
32+
$this->assertEquals(0, EventPriorities::POST_RESPOND);
3333
}
3434
}

0 commit comments

Comments
 (0)