Skip to content

Commit d9d1e52

Browse files
committed
Fix some redundant @return phpdoc
1 parent 8c2dbd6 commit d9d1e52

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Caster/Caster.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ class Caster
4141
* Casts objects to arrays and adds the dynamic property prefix.
4242
*
4343
* @param bool $hasDebugInfo Whether the __debugInfo method exists on $obj or not
44-
*
45-
* @return array
4644
*/
4745
public static function castObject(object $obj, string $class, bool $hasDebugInfo = false, string $debugClass = null): array
4846
{
@@ -118,8 +116,6 @@ public static function castObject(object $obj, string $class, bool $hasDebugInfo
118116
* @param int $filter A bit field of Caster::EXCLUDE_* constants specifying which properties to filter out
119117
* @param string[] $listedProperties List of properties to exclude when Caster::EXCLUDE_VERBOSE is set, and to preserve when Caster::EXCLUDE_NOT_IMPORTANT is set
120118
* @param int &$count Set to the number of removed properties
121-
*
122-
* @return array
123119
*/
124120
public static function filter(array $a, int $filter, array $listedProperties = [], ?int &$count = 0): array
125121
{

0 commit comments

Comments
 (0)