summaryrefslogtreecommitdiff
path: root/tests/classes/final_redeclare.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/final_redeclare.phpt')
-rw-r--r--tests/classes/final_redeclare.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/classes/final_redeclare.phpt b/tests/classes/final_redeclare.phpt
index d3d53c5dc7..e6dc38b908 100644
--- a/tests/classes/final_redeclare.phpt
+++ b/tests/classes/final_redeclare.phpt
@@ -4,17 +4,17 @@ ZE2 A final method may not be overwritten
<?php
class pass {
- final function show() {
- echo "Call to function pass::show()\n";
- }
+ final function show() {
+ echo "Call to function pass::show()\n";
+ }
}
$t = new pass();
class fail extends pass {
- function show() {
- echo "Call to function fail::show()\n";
- }
+ function show() {
+ echo "Call to function fail::show()\n";
+ }
}
echo "Done\n"; // Shouldn't be displayed