summaryrefslogtreecommitdiff
path: root/Zend/tests/traits/bug76539.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/traits/bug76539.phpt')
-rw-r--r--Zend/tests/traits/bug76539.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/tests/traits/bug76539.phpt b/Zend/tests/traits/bug76539.phpt
index 51a75cdaf6..0a6d893032 100644
--- a/Zend/tests/traits/bug76539.phpt
+++ b/Zend/tests/traits/bug76539.phpt
@@ -3,19 +3,19 @@ Bug #76539 (Trait attribute is set incorrectly when using self::class with anoth
--FILE--
<?php
trait MyTrait {
- protected $attr = self::class . 'Test';
+ protected $attr = self::class . 'Test';
- public function test() {
- echo $this->attr, PHP_EOL;
- }
+ public function test() {
+ echo $this->attr, PHP_EOL;
+ }
}
class A {
- use MyTrait;
+ use MyTrait;
}
class B {
- use MyTrait;
+ use MyTrait;
}
(new A())->test();