summaryrefslogtreecommitdiff
path: root/Zend/tests/objects_022.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-09-16 14:16:42 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-10-14 12:07:20 -0300
commit9c144e0d8217d1ef7a83c2498214308b21af749f (patch)
treed977ba0d8601de477c52f62accf02c120ef06253 /Zend/tests/objects_022.phpt
parentb419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff)
downloadphp-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz
Trim trailing whitespace in tests
Diffstat (limited to 'Zend/tests/objects_022.phpt')
-rw-r--r--Zend/tests/objects_022.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/tests/objects_022.phpt b/Zend/tests/objects_022.phpt
index 5f537feaf4..d5a695739f 100644
--- a/Zend/tests/objects_022.phpt
+++ b/Zend/tests/objects_022.phpt
@@ -1,14 +1,14 @@
--TEST--
Testing 'self', 'parent' as type-hint
--FILE--
-<?php
+<?php
interface iTest { }
-
+
class baz implements iTest {}
-
+
class bar { }
-
+
class foo extends bar {
public function testFoo(self $obj) {
var_dump($obj);
@@ -20,7 +20,7 @@ class foo extends bar {
var_dump($obj);
}
}
-
+
$foo = new foo;
$foo->testFoo(new foo);
$foo->testBar(new bar);