diff --git a/src/PhpDoc/BcMathNumberStubFilesExtension.php b/src/PhpDoc/BcMathNumberStubFilesExtension.php new file mode 100644 index 0000000000..5a6d5294b2 --- /dev/null +++ b/src/PhpDoc/BcMathNumberStubFilesExtension.php @@ -0,0 +1,25 @@ +phpVersion->supportsBcMathNumberOperatorOverloading()) { + return []; + } + + return [__DIR__ . '/../../stubs/bcmath.stub']; + } + +} diff --git a/stubs/bcmath.stub b/stubs/bcmath.stub new file mode 100644 index 0000000000..cd4b8b1e7d --- /dev/null +++ b/stubs/bcmath.stub @@ -0,0 +1,8 @@ +