Skip to content

Commit c8092f7

Browse files
committed
Update real structure name
1 parent 7e4bdd1 commit c8092f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Kernel/Structures/Annotations/Annotation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function execute(): void
2020

2121
for ($i = 0; $i < $this->numElementValuePairs; $i++) {
2222
$elementNameIndex = $this->readUnsignedShort();
23-
$elementValuePair = (new ElementValuePairs($this->reader))
23+
$elementValuePair = (new ElementValue($this->reader))
2424
->setConstantPool($this->getConstantPool());
2525
$elementValuePair->execute();
2626
$this->elementValuePairs[] = [

src/Kernel/Structures/Annotations/ElementValuePairs.php renamed to src/Kernel/Structures/Annotations/ElementValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use PHPJava\Kernel\Attributes\RuntimeVisibleAnnotationsAttribute;
88
use PHPJava\Utilities\BinaryTool;
99

10-
final class ElementValuePairs implements AnnotationInterface
10+
final class ElementValue implements AnnotationInterface
1111
{
1212
use \PHPJava\Kernel\Core\BinaryReader;
1313
use \PHPJava\Kernel\Core\ConstantPool;

0 commit comments

Comments
 (0)