@@ -14,7 +14,7 @@ trait ValidatesVersionFeatures
1414 /**
1515 * Validate that a feature is supported by the current schema version.
1616 *
17- * @throws SchemaException
17+ * @throws \Cortex\JsonSchema\Exceptions\ SchemaException
1818 */
1919 protected function validateFeatureSupport (SchemaFeature $ schemaFeature ): void
2020 {
@@ -33,9 +33,9 @@ protected function validateFeatureSupport(SchemaFeature $schemaFeature): void
3333 /**
3434 * Validate that multiple features are supported by the current schema version.
3535 *
36- * @param SchemaFeature[] $features
36+ * @param array<\Cortex\JsonSchema\Enums\ SchemaFeature> $features
3737 *
38- * @throws SchemaException
38+ * @throws \Cortex\JsonSchema\Exceptions\ SchemaException
3939 */
4040 protected function validateFeaturesSupport (array $ features ): void
4141 {
@@ -89,7 +89,7 @@ protected function addFeatureIfSupported(
8989 * Get features that should be validated when building the schema output.
9090 * Override in specific schema types to define which features they use.
9191 *
92- * @return SchemaFeature[]
92+ * @return array<\Cortex\JsonSchema\Enums\ SchemaFeature>
9393 */
9494 protected function getUsedFeatures (): array
9595 {
@@ -99,7 +99,7 @@ protected function getUsedFeatures(): array
9999 /**
100100 * Validate all features used by this schema type.
101101 *
102- * @throws SchemaException
102+ * @throws \Cortex\JsonSchema\Exceptions\ SchemaException
103103 */
104104 protected function validateAllUsedFeatures (): void
105105 {
0 commit comments