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

ISSUE-1491: Fixed optional options checks on model create #1494

Conversation

BeMySlaveDarlin
Copy link
Contributor

Hello!

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR

Small description of change:
Changed modelOptions->getOption() to modelOptions->hasOption() in conditional checks for namespace and abstract

Thanks

@BeMySlaveDarlin BeMySlaveDarlin force-pushed the fix/issue-1491-namespace-checks-on-model-create branch from a4778ac to 3ba6f37 Compare March 21, 2021 21:14
@BeMySlaveDarlin BeMySlaveDarlin force-pushed the fix/issue-1491-namespace-checks-on-model-create branch from 3ba6f37 to 921da17 Compare March 21, 2021 21:25
@codecov
Copy link

codecov bot commented Mar 21, 2021

Codecov Report

Merging #1494 (921da17) into 4.0.x (94d96c9) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff          @@
##           4.0.x   #1494   +/-   ##
=====================================
  Coverage   3.15%   3.15%           
=====================================
  Files        111     111           
  Lines       5109    5109           
=====================================
  Hits         161     161           
  Misses      4948    4948           

@Jeckerson Jeckerson added this to the 4.0.x milestone Mar 22, 2021
@Jeckerson Jeckerson merged commit 02d7932 into phalcon:4.0.x Mar 22, 2021
@BeMySlaveDarlin BeMySlaveDarlin deleted the fix/issue-1491-namespace-checks-on-model-create branch May 4, 2021 11: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.

2 participants