We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12eaeca + 0f30028 commit a20710bCopy full SHA for a20710b
src/Utils/ScalarBeanPropertyDescriptor.php
@@ -224,7 +224,7 @@ public function getGetterSetterCode(): array
224
if ($normalizedType === 'resource') {
225
$checkNullable = '';
226
if ($isNullable) {
227
- $checkNullable = sprintf('$%s !== null && ', $this->column->getName());
+ $checkNullable = sprintf('$%s !== null && ', $variableName);
228
}
229
$resourceTypeCheck .= <<<EOF
230
if (%s!\is_resource($%s)) {
0 commit comments