Skip to content

Commit

Permalink
Do not use private $parts property
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Feb 16, 2025
1 parent 0fa3ca4 commit a28ae11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handlers/Eloquent/Schema/SchemaAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ private function processColumnUpdates(string $table_name, string $call_arg_name,
if (
$first_argument_of_nullable instanceof PhpParser\Node\Arg
&& $first_argument_of_nullable->value instanceof PhpParser\Node\Expr\ConstFetch
&& $first_argument_of_nullable->value->name->parts === ['false']
&& $first_argument_of_nullable->value->name->getParts() === ['false']
) {
$nullable = false;
}
Expand Down

0 comments on commit a28ae11

Please sign in to comment.