Skip to content

Commit 45ef134

Browse files
committed
PHPStan update
1 parent 0ef8bed commit 45ef134

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ConstantContact/Definition/Base.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function __get(string $field) : mixed
114114
/**
115115
* @return mixed value being set to allow for assignment chaining
116116
*/
117-
public function __set(string $field, $value)
117+
public function __set(string $field, mixed $value)
118118
{
119119
$actualField = $field;
120120

@@ -235,8 +235,7 @@ public function __set(string $field, $value)
235235
}
236236

237237
$this->setFields[$actualField] = true;
238-
239-
return $this->data[$actualField] = $value;
238+
$this->data[$actualField] = $value;
240239
}
241240

242241
/**

0 commit comments

Comments
 (0)