Skip to content

Commit a5bcb48

Browse files
authored
Fix invalid return (#327)
1 parent 41b8ea1 commit a5bcb48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Assert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ public static function propertyNotExists(mixed $classOrObject, mixed $property,
17411741
));
17421742
}
17431743

1744-
return $value;
1744+
return $classOrObject;
17451745
}
17461746

17471747
/**

0 commit comments

Comments
 (0)