Skip to content

Commit d0c7e3e

Browse files
committed
improved phpDoc
1 parent 83968a1 commit d0c7e3e

17 files changed

+17
-17
lines changed

src/PhpGenerator/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* PHP Attribute.
16+
* Definition of a PHP attribute.
1717
*/
1818
final class Attribute
1919
{

src/PhpGenerator/ClassLike.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Class/Interface/Trait/Enum description.
16+
* Base definition of class, interface, trait or enum type.
1717
*/
1818
abstract class ClassLike
1919
{

src/PhpGenerator/ClassType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Class description.
16+
* Definition of a class with properties, methods, constants, traits and PHP attributes.
1717
*
1818
* @property-deprecated Method[] $methods
1919
* @property-deprecated Property[] $properties

src/PhpGenerator/Closure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Closure.
16+
* Definition of a closure.
1717
*
1818
* @property-deprecated string $body
1919
*/

src/PhpGenerator/Constant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Class constant.
16+
* Definition of a class constant.
1717
*/
1818
final class Constant
1919
{

src/PhpGenerator/EnumCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Enum case.
16+
* Definition of an enum case.
1717
*/
1818
final class EnumCase
1919
{

src/PhpGenerator/EnumType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Enum description.
16+
* Definition of an enum with cases, methods, constants and traits.
1717
*/
1818
final class EnumType extends ClassLike
1919
{

src/PhpGenerator/GlobalFunction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Global function.
16+
* Definition of a global function.
1717
*
1818
* @property-deprecated string $body
1919
*/

src/PhpGenerator/InterfaceType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Interface description.
16+
* Definition of an interface with methods and constants.
1717
*
1818
* @property-deprecated Method[] $methods
1919
*/

src/PhpGenerator/Method.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* Class method.
16+
* Definition of a class method.
1717
*
1818
* @property-deprecated string|null $body
1919
*/

0 commit comments

Comments
 (0)