Skip to content

Commit

Permalink
Fix FFI\CType::TYPE_LONG_DOUBLE constant typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts authored and DmitryTronin committed Jun 28, 2022
1 parent d9c383e commit 842595a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FFI/.phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
\FFI\CType::TYPE_VOID,
\FFI\CType::TYPE_FLOAT,
\FFI\CType::TYPE_DOUBLE,
\FFI\CType::TYPE_LONG_DOUBLE,
\FFI\CType::TYPE_LONGDOUBLE,
\FFI\CType::TYPE_UINT8,
\FFI\CType::TYPE_SINT8,
\FFI\CType::TYPE_UINT16,
Expand Down
4 changes: 2 additions & 2 deletions FFI/FFI.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class CType
*
* @since 8.1
*/
public const TYPE_LONG_DOUBLE = 3;
public const TYPE_LONGDOUBLE = 3;

/**
* @since 8.1
Expand Down Expand Up @@ -547,7 +547,7 @@ public function getName(): string {}
* - {@see CType::TYPE_VOID}
* - {@see CType::TYPE_FLOAT}
* - {@see CType::TYPE_DOUBLE}
* - {@see CType::TYPE_LONG_DOUBLE}
* - {@see CType::TYPE_LONGDOUBLE}
* - {@see CType::TYPE_UINT8}
* - {@see CType::TYPE_SINT8}
* - {@see CType::TYPE_UINT16}
Expand Down

0 comments on commit 842595a

Please sign in to comment.