Skip to content

Commit

Permalink
Fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent4vx committed May 17, 2022
1 parent 77dc469 commit 39357f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Aggregate/ChildAggregateInterface.php
Expand Up @@ -15,6 +15,7 @@
*
* @template T
* @extends ElementInterface<T>
* @extends ArrayAccess<string, ChildInterface>
*/
interface ChildAggregateInterface extends ElementInterface, ArrayAccess, IteratorAggregate
{
Expand All @@ -37,13 +38,20 @@ public function offsetGet($offset): ChildInterface;
public function offsetExists($offset): bool;

/**
* {@inheritdoc}
*
* Operation not allowed
*
* @param string $offset The child name
* @param ChildInterface $value
*
* @throws \BadMethodCallException
*/
public function offsetSet($offset, $value): void;

/**
* {@inheritdoc}
*
* Operation not allowed
*
* @throws \BadMethodCallException
Expand Down

0 comments on commit 39357f0

Please sign in to comment.