forked from zendframework/zend-diactoros
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tests to validate getContents() works for arbitrary callbacks
Starting with PHP 5.4, you can call arbitrary callbacks using the `$callback()` notation (`call_user_func()` is no longer necessary). As such, also reverted the changes from 1b43e4d.
- Loading branch information
1 parent
c9d1598
commit 8548073
Showing
2 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters