Skip to content

Commit

Permalink
improved phpDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Nov 28, 2024
1 parent 83968a1 commit d0c7e3e
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/PhpGenerator/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* PHP Attribute.
* Definition of a PHP attribute.
*/
final class Attribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/ClassLike.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Class/Interface/Trait/Enum description.
* Base definition of class, interface, trait or enum type.
*/
abstract class ClassLike
{
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/ClassType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Class description.
* Definition of a class with properties, methods, constants, traits and PHP attributes.
*
* @property-deprecated Method[] $methods
* @property-deprecated Property[] $properties
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/Closure.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Closure.
* Definition of a closure.
*
* @property-deprecated string $body
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/Constant.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Class constant.
* Definition of a class constant.
*/
final class Constant
{
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/EnumCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Enum case.
* Definition of an enum case.
*/
final class EnumCase
{
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/EnumType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Enum description.
* Definition of an enum with cases, methods, constants and traits.
*/
final class EnumType extends ClassLike
{
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/GlobalFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Global function.
* Definition of a global function.
*
* @property-deprecated string $body
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/InterfaceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Interface description.
* Definition of an interface with methods and constants.
*
* @property-deprecated Method[] $methods
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Class method.
* Definition of a class method.
*
* @property-deprecated string|null $body
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/Parameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


/**
* Function/Method parameter description.
* Definition of a function/method parameter.
*
* @property-deprecated mixed $defaultValue
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/PhpFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Instance of PHP file.
* Definition of a PHP file.
*
* Generates:
* - opening tag (<?php)
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/PhpNamespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


/**
* Namespaced part of a PHP file.
* Definition of a PHP namespace.
*
* Generates:
* - namespace statement
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/PromotedParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Promoted parameter in constructor.
* Definition of a promoted constructor parameter.
*/
final class PromotedParameter extends Parameter
{
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/Property.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


/**
* Class property description.
* Definition of a class property.
*
* @property-deprecated mixed $value
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/TraitType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* Trait description.
* Definition of a trait with properties, methods, constants and traits.
*
* @property-deprecated Method[] $methods
* @property-deprecated Property[] $properties
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/TraitUse.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


/**
* use Trait
* Definition of a trait use statement.
*/
final class TraitUse
{
Expand Down

0 comments on commit d0c7e3e

Please sign in to comment.