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

Feature/fix conditions #838

Merged
merged 3 commits into from Mar 3, 2021
Merged

Feature/fix conditions #838

merged 3 commits into from Mar 3, 2021

Conversation

DarkSide666
Copy link
Member

No description provided.

@mvorisek mvorisek added the bug label Mar 3, 2021
Copy link
Member

@mvorisek mvorisek left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -250,8 +250,10 @@ public function doDelete($id): void
return;
}

$id = $this->reverse ? $this->getOwner()->getId() : $this->getOwner()->get($this->master_field);
$model = $this->getOwner();
$query = $this->dsql();
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont see the use of putting these 2 in variables. Whats the idea behind this? Better code readability?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, this is not functional change. Just made it a bit more similar to other methods above :)

@DarkSide666 DarkSide666 merged commit 6380383 into develop Mar 3, 2021
@DarkSide666 DarkSide666 deleted the feature/fix-conditions branch March 3, 2021 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants