Skip to content

Commit

Permalink
Fixed PHPStan issue
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <tom@inflatablecookie.com>
  • Loading branch information
betterthanclay committed Apr 26, 2024
1 parent 9a2c2ff commit 2f8bcb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Veneer/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function setProperty(

if (
!empty($types) ||
!$wrapper instanceof ReflectionNamedType ||
$wrapper->getName() !== PluginWrapper::class
) {
throw Exceptional::Setup('Plugin ' . $name . ' has a complex type');
Expand Down

0 comments on commit 2f8bcb5

Please sign in to comment.