We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d314f23 commit 365809eCopy full SHA for 365809e
Caster/ExceptionCaster.php
@@ -24,9 +24,9 @@
24
*/
25
class ExceptionCaster
26
{
27
- public static $srcContext = 1;
28
- public static $traceArgs = true;
29
- public static $errorTypes = [
+ public static int $srcContext = 1;
+ public static bool $traceArgs = true;
+ public static array $errorTypes = [
30
\E_DEPRECATED => 'E_DEPRECATED',
31
\E_USER_DEPRECATED => 'E_USER_DEPRECATED',
32
\E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR',
Tests/Caster/ReflectionCasterTest.php
@@ -499,7 +499,7 @@ public function testGenerator()
499
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::foo()
500
› yield 1;
501
› }
502
- ›
+ ›
503
}
504
505
closed: false
0 commit comments