We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c535e commit 61c55e0Copy full SHA for 61c55e0
src/Testing/FakeFolder.php
@@ -91,7 +91,9 @@ public function messages(): MessageQueryInterface
91
*/
92
public function idle(callable $callback, ?callable $query = null, int $timeout = 300): void
93
{
94
- throw new Exception('Unsupported');
+ foreach ($this->messages as $message) {
95
+ $callback($message);
96
+ }
97
}
98
99
/**
0 commit comments