mirror of
https://github.com/danog/amp.git
synced 2025-01-22 05:11:42 +01:00
Fix documentation for Failure
This commit is contained in:
parent
e209ee189d
commit
e00d5a7c41
@ -14,7 +14,7 @@ class Failure implements Promise {
|
||||
* where PHP5.x compatibility is required because PHP7 Throwable
|
||||
* instances will break the typehint.
|
||||
*
|
||||
* @param Exception $error
|
||||
* @param \Exception $error
|
||||
* @TODO Add Throwable typehint and remove conditional once PHP7 is required
|
||||
*/
|
||||
public function __construct($error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user