Skip to content

Commit

Permalink
Fix renderable prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
rozsival committed Jan 8, 2020
1 parent 2918f4c commit bcdf2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PropsControl/Helpers/PropTypes.php
Expand Up @@ -38,7 +38,7 @@ public static function controllable(): Type

public static function renderable(): AnyOf
{
return Expect::anyOf(self::controllable(), Expect::string(), Html::class);
return Expect::anyOf(self::controllable(), Expect::string(), Expect::type(Html::class));
}

}

0 comments on commit bcdf2cb

Please sign in to comment.