Skip to content

Commit

Permalink
refactor: Change Class -> SchemaClass due to improper Schemagen @var
Browse files Browse the repository at this point in the history
 docblock
  • Loading branch information
khalwat committed Feb 7, 2024
1 parent 972baeb commit 1a06ce0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/models/jsonld/EnumerationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ trait EnumerationTrait
* Relates a term (i.e. a property, class or enumeration) to one that
* supersedes it.
*
* @var Class|Property|Enumeration
* @var SchemaClass|Property|Enumeration
*/
public $supersededBy;
}
6 changes: 3 additions & 3 deletions src/models/jsonld/PropertyTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ trait PropertyTrait
* Relates a term (i.e. a property, class or enumeration) to one that
* supersedes it.
*
* @var Class|Property|Enumeration
* @var SchemaClass|Property|Enumeration
*/
public $supersededBy;

/**
* Relates a property to a class that is (one of) the type(s) the property is
* expected to be used on.
*
* @var Class
* @var SchemaClass
*/
public $domainIncludes;

Expand All @@ -52,7 +52,7 @@ trait PropertyTrait
* Relates a property to a class that constitutes (one of) the expected
* type(s) for values of the property.
*
* @var Class
* @var SchemaClass
*/
public $rangeIncludes;
}
2 changes: 1 addition & 1 deletion src/models/jsonld/SchemaClassTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ trait SchemaClassTrait
* Relates a term (i.e. a property, class or enumeration) to one that
* supersedes it.
*
* @var Class|Property|Enumeration
* @var SchemaClass|Property|Enumeration
*/
public $supersededBy;
}
2 changes: 1 addition & 1 deletion src/models/jsonld/StatisticalPopulationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ trait StatisticalPopulationTrait
* Indicates the populationType common to all members of a
* [[StatisticalPopulation]].
*
* @var Class
* @var SchemaClass
*/
public $populationType;

Expand Down

0 comments on commit 1a06ce0

Please sign in to comment.