Skip to content

Commit

Permalink
Merge pull request #4 from sj-i/fix-psalm-false-positive
Browse files Browse the repository at this point in the history
add more @var to suppress a false-positive warning of psalm in a client code
  • Loading branch information
sj-i committed Aug 28, 2021
2 parents b50a5bc + 6378aa9 commit 5677ebb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TypedCDataDefaultImplementationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public static function newCData(): CData
$typename = static::getCTypeName();
/** @var CData $cdata */
$cdata = static::getFFI()->new($typename);
/** @var FFI\CType $type */
$type = static::getFFI()->type(
$typename
);
Expand Down

0 comments on commit 5677ebb

Please sign in to comment.