Skip to content

Commit 7d04deb

Browse files
committed
Fix: Remove the ignore errors of Traits.
1 parent f853a58 commit 7d04deb

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

system/Traits/PropertiesTrait.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,7 @@ final public function fill(array $params): self
4545
final public function getPublicProperties(): array
4646
{
4747
$worker = new class () {
48-
/**
49-
* @param object $obj
50-
*
51-
* @return array
52-
*/
53-
public function getProperties($obj)
48+
public function getProperties(object $obj): array
5449
{
5550
return get_object_vars($obj);
5651
}

0 commit comments

Comments
 (0)