Skip to content

Commit

Permalink
drop validating that the given $implementedInterfaces contains vali…
Browse files Browse the repository at this point in the history
…d syntax/symbols

Signed-off-by: Abdul Malik Ikhsan <[email protected]>
  • Loading branch information
samsonasik committed Sep 26, 2021
1 parent d5c06a8 commit 4a5b03d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Generator/ClassGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,6 @@ public function removeExtentedClass()
*/
public function setImplementedInterfaces(array $implementedInterfaces)
{
// This loop is just validating that the given `$implementedInterfaces` contains valid syntax/symbols
array_map(static fn($implementedInterface) =>
TypeGenerator::fromTypeString($implementedInterface), $implementedInterfaces);

$this->implementedInterfaces = $implementedInterfaces;
return $this;
}
Expand Down

0 comments on commit 4a5b03d

Please sign in to comment.