Skip to content

Commit

Permalink
WeakReference::get is pure too
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek authored and isfedorov committed Nov 24, 2023
1 parent 1d50414 commit 37fa92c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/Core_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ public static function create(object $object): WeakReference {}
* @return T|null
* @since 7.4
*/
#[Pure]
public function get(): ?object {}
}

Expand Down

0 comments on commit 37fa92c

Please sign in to comment.