Skip to content

Commit 38ebed5

Browse files
committed
Fix psalm errors
1 parent 1af0519 commit 38ebed5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

psalm.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<psalm
3-
errorLevel="4"
3+
errorLevel="5"
44
findUnusedVariablesAndParams="true"
55
resolveFromConfigFile="true"
66
useDocblockPropertyTypes="true"

src/Support/Name.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ protected function wantsPossessive(string $key): bool
113113
public function __get(string $key): ?string
114114
{
115115
if ($this->wantsPossessive($key)) {
116-
$key = Str::replaceLast('possessive', null, $key);
116+
$key = Str::replaceLast('possessive', '', $key);
117117

118118
return $this->possessive($this->{$key});
119119
}

0 commit comments

Comments
 (0)