Skip to content

Commit f4de17c

Browse files
committed
Rephrase strict types sentence
1 parent 808c529 commit f4de17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Any implementation MUST at least provide these two parameters. The implementatio
7474
7575
All registered callbacks MUST be executed in the order they were registered. If one of the callbacks throws an `Exception` or `Throwable`, it MUST be forwarded to `Async\Interop\Promise\ErrorHandler::notify`. The `Promise` implementation MUST then continue to call the remaining callbacks with the original parameters.
7676

77-
Promise implementations MUST NOT use strict types (`declare(strict_types=1)`).
77+
Registered callbacks MUST NOT be called from a file with strict types enabled (`declare(strict_types=1)`).
7878

7979
## Contributors
8080

0 commit comments

Comments
 (0)