Skip to content

Commit

Permalink
[CS] Remove @inheritdoc PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Aug 25, 2022
1 parent 25108ee commit 72b7938
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 36 deletions.
12 changes: 0 additions & 12 deletions PropertyAccessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ public function __construct(int $magicMethods = self::MAGIC_GET | self::MAGIC_SE
$this->writeInfoExtractor = $writeInfoExtractor ?? new ReflectionExtractor(['set'], null, null, false);
}

/**
* {@inheritdoc}
*/
public function getValue(object|array $objectOrArray, string|PropertyPathInterface $propertyPath): mixed
{
$zval = [
Expand All @@ -122,9 +119,6 @@ public function getValue(object|array $objectOrArray, string|PropertyPathInterfa
return $propertyValues[\count($propertyValues) - 1][self::VALUE];
}

/**
* {@inheritdoc}
*/
public function setValue(object|array &$objectOrArray, string|PropertyPathInterface $propertyPath, mixed $value)
{
if (\is_object($objectOrArray) && false === strpbrk((string) $propertyPath, '.[')) {
Expand Down Expand Up @@ -220,9 +214,6 @@ private static function throwInvalidArgumentException(string $message, array $tr
}
}

/**
* {@inheritdoc}
*/
public function isReadable(object|array $objectOrArray, string|PropertyPathInterface $propertyPath): bool
{
if (!$propertyPath instanceof PropertyPathInterface) {
Expand All @@ -243,9 +234,6 @@ public function isReadable(object|array $objectOrArray, string|PropertyPathInter
}
}

/**
* {@inheritdoc}
*/
public function isWritable(object|array $objectOrArray, string|PropertyPathInterface $propertyPath): bool
{
$propertyPath = $this->getPropertyPath($propertyPath);
Expand Down
18 changes: 0 additions & 18 deletions PropertyPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,11 @@ public function __toString(): string
return $this->pathAsString;
}

/**
* {@inheritdoc}
*/
public function getLength(): int
{
return $this->length;
}

/**
* {@inheritdoc}
*/
public function getParent(): ?PropertyPathInterface
{
if ($this->length <= 1) {
Expand All @@ -151,17 +145,11 @@ public function getIterator(): PropertyPathIteratorInterface
return new PropertyPathIterator($this);
}

/**
* {@inheritdoc}
*/
public function getElements(): array
{
return $this->elements;
}

/**
* {@inheritdoc}
*/
public function getElement(int $index): string
{
if (!isset($this->elements[$index])) {
Expand All @@ -171,9 +159,6 @@ public function getElement(int $index): string
return $this->elements[$index];
}

/**
* {@inheritdoc}
*/
public function isProperty(int $index): bool
{
if (!isset($this->isIndex[$index])) {
Expand All @@ -183,9 +168,6 @@ public function isProperty(int $index): bool
return !$this->isIndex[$index];
}

/**
* {@inheritdoc}
*/
public function isIndex(int $index): bool
{
if (!isset($this->isIndex[$index])) {
Expand Down
6 changes: 0 additions & 6 deletions PropertyPathIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,11 @@ public function __construct(PropertyPathInterface $path)
$this->path = $path;
}

/**
* {@inheritdoc}
*/
public function isIndex(): bool
{
return $this->path->isIndex($this->key());
}

/**
* {@inheritdoc}
*/
public function isProperty(): bool
{
return $this->path->isProperty($this->key());
Expand Down

0 comments on commit 72b7938

Please sign in to comment.