We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a724f92 + a4de3e7 commit 167042aCopy full SHA for 167042a
2 files changed
phpstan-baseline.neon.dist
@@ -120,11 +120,6 @@ parameters:
120
count: 1
121
path: system/HTTP/Files/UploadedFile.php
122
123
- -
124
- message: "#^Property CodeIgniter\\\\HTTP\\\\IncomingRequest\\:\\:\\$locale \\(string\\) on left side of \\?\\? is not nullable\\.$#"
125
- count: 1
126
- path: system/HTTP/IncomingRequest.php
127
-
128
129
message: "#^Property CodeIgniter\\\\HTTP\\\\Message\\:\\:\\$protocolVersion \\(string\\) on left side of \\?\\? is not nullable\\.$#"
130
system/HTTP/IncomingRequest.php
@@ -554,7 +554,7 @@ public function setLocale(string $locale)
554
*/
555
public function getLocale(): string
556
{
557
- return $this->locale ?? $this->defaultLocale;
+ return $this->locale;
558
}
559
560
/**
0 commit comments