Skip to content

[9.x] Fixes for model:show command#43301

Merged
taylorotwell merged 3 commits into
9.xfrom
model-show-fixes
Jul 20, 2022
Merged

[9.x] Fixes for model:show command#43301
taylorotwell merged 3 commits into
9.xfrom
model-show-fixes

Conversation

@jessarcher

@jessarcher jessarcher commented Jul 20, 2022

Copy link
Copy Markdown
Member

This PR fixes a few issues with the model:show command:

  • Fixes compatibility with PHP 8.0
  • Prevents throwing an error when the relation detection returns a false positive
  • Fixes an issue when a model has the same name as a facade

Fixes #43298
Fixes #43285
Fixes #43289

@nunomaduro nunomaduro changed the title Fixes for model:show command [9.x] Fixes for model:show command Jul 20, 2022
Comment thread src/Illuminate/Foundation/Console/ShowModelCommand.php
@taylorotwell
taylorotwell merged commit f450945 into 9.x Jul 20, 2022
@taylorotwell
taylorotwell deleted the model-show-fixes branch July 20, 2022 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants