Skip to content

[main] [bug] Use self::FAILURE constant in InstanceDelete#133

Merged
joetannenbaum merged 1 commit intolaravel:mainfrom
JoshSalway:fix/instance-delete-return-constant
Apr 10, 2026
Merged

[main] [bug] Use self::FAILURE constant in InstanceDelete#133
joetannenbaum merged 1 commit intolaravel:mainfrom
JoshSalway:fix/instance-delete-return-constant

Conversation

@JoshSalway
Copy link
Copy Markdown
Contributor

Summary

InstanceDelete catch block returns integer 1 instead of self::FAILURE. Every other delete command uses the constant.

Closes #85

Test plan

  • ./vendor/bin/pest - 33 tests pass
  • ./vendor/bin/pint --test - no style issues

Closes laravel#85

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joetannenbaum joetannenbaum merged commit b2eb974 into laravel:main Apr 10, 2026
4 checks passed
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.

Bug: InstanceDelete returns integer 1 instead of self::FAILURE constant

2 participants