Skip to content

Commit a28ae11

Browse files
committed
Do not use private $parts property
1 parent 0fa3ca4 commit a28ae11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Handlers/Eloquent/Schema/SchemaAggregator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private function processColumnUpdates(string $table_name, string $call_arg_name,
240240
if (
241241
$first_argument_of_nullable instanceof PhpParser\Node\Arg
242242
&& $first_argument_of_nullable->value instanceof PhpParser\Node\Expr\ConstFetch
243-
&& $first_argument_of_nullable->value->name->parts === ['false']
243+
&& $first_argument_of_nullable->value->name->getParts() === ['false']
244244
) {
245245
$nullable = false;
246246
}

0 commit comments

Comments
 (0)