Skip to content

Commit 5610a77

Browse files
committed
Update stubs
1 parent dbdf5cb commit 5610a77

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Php8StubsMap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2718,6 +2718,7 @@ public function __construct(int $phpVersionId)
27182718
'random\\cryptosafeengine' => 'stubs/ext/random/Random/CryptoSafeEngine.php',
27192719
'random\\randomizer' => 'stubs/ext/random/Random/Randomizer.php',
27202720
'zendtestforbiddynamiccall' => 'stubs/ext/zend_test/ZendTestForbidDynamicCall.php',
2721+
'zendtestns\\unlikelycompileerror' => 'stubs/ext/zend_test/ZendTestNS/UnlikelyCompileError.php',
27212722
'allowdynamicproperties' => 'stubs/Zend/AllowDynamicProperties.php',
27222723
'sensitiveparameter' => 'stubs/Zend/SensitiveParameter.php',
27232724
'sensitiveparametervalue' => 'stubs/Zend/SensitiveParameterValue.php',
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace ZendTestNS;
4+
5+
#[\Since('8.2')]
6+
class UnlikelyCompileError
7+
{
8+
/* This method signature would create a compile error due to the string
9+
* "ZendTestNS\UnlikelyCompileError" in the generated macro call */
10+
public function method() : ?UnlikelyCompileError
11+
{
12+
}
13+
}

0 commit comments

Comments
 (0)