summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_059.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
commitf8d795820e780a6322e054c26c581570613c14f0 (patch)
tree99d3ae01ce564752807341c5743863b4c92513f8 /Zend/tests/closure_059.phpt
parentd2cb200e10ada6fa44c54a29292bb4665728fff0 (diff)
downloadphp-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz
Reindent phpt files
Diffstat (limited to 'Zend/tests/closure_059.phpt')
-rw-r--r--Zend/tests/closure_059.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/tests/closure_059.phpt b/Zend/tests/closure_059.phpt
index 299d8f5d9d..68fd10321f 100644
--- a/Zend/tests/closure_059.phpt
+++ b/Zend/tests/closure_059.phpt
@@ -18,19 +18,19 @@ $f->__invoke($a);
call_user_func(array($f,"__invoke"), $a);
try {
- $f($b);
+ $f($b);
} catch (Error $e) {
- echo "Exception: " . $e->getMessage() . "\n";
+ echo "Exception: " . $e->getMessage() . "\n";
}
try {
- $f->__invoke($b);
+ $f->__invoke($b);
} catch (Error $e) {
- echo "Exception: " . $e->getMessage() . "\n";
+ echo "Exception: " . $e->getMessage() . "\n";
}
try {
- call_user_func(array($f,"__invoke"), $b);
+ call_user_func(array($f,"__invoke"), $b);
} catch (Error $e) {
- echo "Exception: " . $e->getMessage() . "\n";
+ echo "Exception: " . $e->getMessage() . "\n";
}
--EXPECTF--
Exception: Argument 1 passed to {closure}() must be an instance of A, instance of B %s