Browse Source

DX: MagicMethodCasingFixerTest - fix test case description

Dariusz Ruminski 4 years ago
parent
commit
d364cddee8
1 changed files with 1 additions and 1 deletions
  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();}',
         ];
 
-        yield 'method declaration in interface' => [
+        yield 'method declaration in trait' => [
             '<?php trait Foo {public function __toString(){}}',
             '<?php trait Foo {public function __tostring(){}}',
         ];