Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: isDirty is always true after creation #115

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

MatanYadaev
Copy link
Owner

closes #114

@MatanYadaev MatanYadaev marked this pull request as ready for review March 2, 2024 13:56
@@ -69,7 +69,7 @@ public function set($model, string $key, $value, array $attributes): ?Expression
if (! ($value instanceof $this->className)) {
$geometryType = is_object($value) ? $value::class : gettype($value);
throw new InvalidArgumentException(
sprintf('Expected %s, %s given.', static::class, $geometryType)
sprintf('Expected %s, %s given.', $this->className, $geometryType)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated fix.

@MatanYadaev MatanYadaev merged commit df3ed55 into master Mar 5, 2024
53 checks passed
@MatanYadaev MatanYadaev deleted the fix-is-dirty branch March 5, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Point column is always "dirty" after creating a record
1 participant