Dariusz Ruminski 4 лет назад
Родитель
Сommit
cbde603cdb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tests/Fixer/Casing/MagicMethodCasingFixerTest.php

+ 1 - 1
tests/Fixer/Casing/MagicMethodCasingFixerTest.php

@@ -133,7 +133,7 @@ final class MagicMethodCasingFixerTest extends AbstractFixerTestCase
             '<?php interface Foo {public function __tostring();}',
             '<?php interface Foo {public function __tostring();}',
         ];
         ];
 
 
-        yield 'method declaration in interface' => [
+        yield 'method declaration in trait' => [
             '<?php trait Foo {public function __toString(){}}',
             '<?php trait Foo {public function __toString(){}}',
             '<?php trait Foo {public function __tostring(){}}',
             '<?php trait Foo {public function __tostring(){}}',
         ];
         ];