We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1af0519 commit 38ebed5Copy full SHA for 38ebed5
psalm.xml.dist
@@ -1,6 +1,6 @@
1
<?xml version="1.0"?>
2
<psalm
3
- errorLevel="4"
+ errorLevel="5"
4
findUnusedVariablesAndParams="true"
5
resolveFromConfigFile="true"
6
useDocblockPropertyTypes="true"
src/Support/Name.php
@@ -113,7 +113,7 @@ protected function wantsPossessive(string $key): bool
113
public function __get(string $key): ?string
114
{
115
if ($this->wantsPossessive($key)) {
116
- $key = Str::replaceLast('possessive', null, $key);
+ $key = Str::replaceLast('possessive', '', $key);
117
118
return $this->possessive($this->{$key});
119
}
0 commit comments