We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc96617 + e6af132 commit eb09acdCopy full SHA for eb09acd
system/CodeIgniter.php
@@ -149,7 +149,7 @@ class CodeIgniter
149
*
150
* @phpstan-var 'php-cli'|'spark'|'web'
151
*/
152
- protected string $context;
+ protected ?string $context = null;
153
154
/**
155
* Constructor.
system/Test/Mock/MockCodeIgniter.php
@@ -15,7 +15,7 @@
15
16
class MockCodeIgniter extends CodeIgniter
17
{
18
- protected string $context = 'web';
+ protected ?string $context = 'web';
19
20
protected function callExit($code)
21
0 commit comments